aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compiler/cpp_plugin.cc
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2015-02-27 21:50:58 +0100
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2015-02-27 21:50:58 +0100
commit93fa09812464d5100b23a75dd52906c0ca61efec (patch)
tree344944de9f75826e0da219f802e549a12cc06a8b /src/compiler/cpp_plugin.cc
parent1c94bf98066fe696b4b58ea6941353f2d9b13d08 (diff)
Removing private protobuf header inclusion.
Diffstat (limited to 'src/compiler/cpp_plugin.cc')
-rw-r--r--src/compiler/cpp_plugin.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/cpp_plugin.cc b/src/compiler/cpp_plugin.cc
index a421e51b78..feb158f89e 100644
--- a/src/compiler/cpp_plugin.cc
+++ b/src/compiler/cpp_plugin.cc
@@ -63,7 +63,7 @@ class CppGrpcGenerator : public google::protobuf::compiler::CodeGenerator {
return false;
}
- std::string file_name = grpc_cpp_generator::StripProto(file->name());
+ std::string file_name = grpc_generator::StripProto(file->name());
// Generate .pb.h
Insert(context, file_name + ".pb.h", "includes",