提交 c93ca648 编写于 作者: W wangguibao

Fix pdcodegen

上级 ac85c41f
...@@ -107,7 +107,6 @@ class PdsCodeGenerator : public CodeGenerator { ...@@ -107,7 +107,6 @@ class PdsCodeGenerator : public CodeGenerator {
if (!generate_impl && !generate_stub) { if (!generate_impl && !generate_stub) {
return true; return true;
} }
if (!include_inserted) { if (!include_inserted) {
boost::scoped_ptr<google::protobuf::io::ZeroCopyOutputStream> output( boost::scoped_ptr<google::protobuf::io::ZeroCopyOutputStream> output(
context->OpenForInsert(header, "includes")); context->OpenForInsert(header, "includes"));
...@@ -126,7 +125,6 @@ class PdsCodeGenerator : public CodeGenerator { ...@@ -126,7 +125,6 @@ class PdsCodeGenerator : public CodeGenerator {
} }
include_inserted = true; include_inserted = true;
} }
const std::string& class_name = descriptor->name(); const std::string& class_name = descriptor->name();
const std::string& service_name = descriptor->name(); const std::string& service_name = descriptor->name();
// xxx.ph.h // xxx.ph.h
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册