diff options
author | Edward Yang <ezyang@fb.com> | 2018-08-28 11:40:07 -0700 |
---|---|---|
committer | Facebook Github Bot <facebook-github-bot@users.noreply.github.com> | 2018-08-28 11:57:08 -0700 |
commit | 91797c0672b7158b0b988fa4e7790127a0653b04 (patch) | |
tree | 3dcfe1f76a5343f4609bb45620cb0700334f99b1 /binaries/make_image_db.cc | |
parent | 5ed62ea6fa7cddee6767fafeb33f7303210ccd70 (diff) | |
download | pytorch-91797c0672b7158b0b988fa4e7790127a0653b04.tar.gz pytorch-91797c0672b7158b0b988fa4e7790127a0653b04.tar.bz2 pytorch-91797c0672b7158b0b988fa4e7790127a0653b04.zip |
Replace direct include of caffe2.pb.h with an intermediary header caffe2_pb.h (#10946)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/10946
```
codemod -d . --extensions cc,cpp,cu,cuh,h caffe2/proto/caffe2.pb.h caffe2/proto/caffe2_pb.h
```
Reviewed By: houseroad
Differential Revision: D9539945
fbshipit-source-id: 497d04720e8e7e61c05ffe1b23733d0cb774de7e
Diffstat (limited to 'binaries/make_image_db.cc')
-rw-r--r-- | binaries/make_image_db.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binaries/make_image_db.cc b/binaries/make_image_db.cc index 2bdbb53d07..1960003086 100644 --- a/binaries/make_image_db.cc +++ b/binaries/make_image_db.cc @@ -39,7 +39,7 @@ #include "caffe2/core/common.h" #include "caffe2/core/db.h" #include "caffe2/core/init.h" -#include "caffe2/proto/caffe2.pb.h" +#include "caffe2/proto/caffe2_pb.h" #include "caffe2/core/logging.h" CAFFE2_DEFINE_bool(shuffle, false, |