Skip to content

Commit 1c88a56

Browse files
committed
dnn: rename caffe protobuf package
1 parent f8ad289 commit 1c88a56

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

modules/dnn/src/caffe/caffe_io.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
#ifdef HAVE_PROTOBUF
9393

9494
#include "opencv-caffe.pb.h"
95+
namespace caffe { using namespace opencv_caffe; } // avoid massive renames from caffe proto package
9596

9697
namespace cv {
9798
namespace dnn {

modules/dnn/src/caffe/opencv-caffe.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
syntax = "proto2";
5050

51-
package caffe;
51+
package opencv_caffe;
5252

5353
// NVidia's Caffe feature is used to store fp16 weights, https://github.com/NVIDIA/caffe:
5454
// Math and storage types

0 commit comments

Comments
 (0)