summaryrefslogtreecommitdiff
path: root/binaries/run_plan.cc
diff options
context:
space:
mode:
authorEdward Yang <ezyang@fb.com>2018-08-28 11:40:07 -0700
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>2018-08-28 11:57:08 -0700
commit91797c0672b7158b0b988fa4e7790127a0653b04 (patch)
tree3dcfe1f76a5343f4609bb45620cb0700334f99b1 /binaries/run_plan.cc
parent5ed62ea6fa7cddee6767fafeb33f7303210ccd70 (diff)
downloadpytorch-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/run_plan.cc')
-rw-r--r--binaries/run_plan.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/binaries/run_plan.cc b/binaries/run_plan.cc
index 5ad2c3a9b3..54f8e8a1eb 100644
--- a/binaries/run_plan.cc
+++ b/binaries/run_plan.cc
@@ -16,7 +16,7 @@
#include "caffe2/core/init.h"
#include "caffe2/core/operator.h"
-#include "caffe2/proto/caffe2.pb.h"
+#include "caffe2/proto/caffe2_pb.h"
#include "caffe2/utils/proto_utils.h"
#include "caffe2/core/logging.h"