diff options
author | Harsh Vardhan <harshvd95@gmail.com> | 2017-03-14 23:10:03 +0530 |
---|---|---|
committer | Harsh Vardhan <harshvd95@gmail.com> | 2017-03-28 21:01:51 +0530 |
commit | d48ee255b22f6a19a67eb60bd3e5f05fa2f6d503 (patch) | |
tree | 18b4d56a514f9c3389127bb3105b7d6d61423127 /src/compiler | |
parent | abf9ce25d9549d33c9869cf45ab4becb29c1cb74 (diff) |
Update
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/protobuf_plugin.h | 4 | ||||
-rw-r--r-- | src/compiler/schema_interface.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/compiler/protobuf_plugin.h b/src/compiler/protobuf_plugin.h index e1407ffc42..cb01bd3498 100644 --- a/src/compiler/protobuf_plugin.h +++ b/src/compiler/protobuf_plugin.h @@ -73,7 +73,7 @@ class ProtoBufMethod : public grpc_generator::Method { bool get_module_and_message_path_input(grpc::string *str, grpc::string generator_file_name, bool generate_in_pb2_grpc, - grpc::string &import_prefix) const { + grpc::string import_prefix) const { return grpc_python_generator::GetModuleAndMessagePath( method_->input_type(), str, generator_file_name, generate_in_pb2_grpc, import_prefix); @@ -82,7 +82,7 @@ class ProtoBufMethod : public grpc_generator::Method { bool get_module_and_message_path_output(grpc::string *str, grpc::string generator_file_name, bool generate_in_pb2_grpc, - grpc::string &import_prefix) const { + grpc::string import_prefix) const { return grpc_python_generator::GetModuleAndMessagePath( method_->output_type(), str, generator_file_name, generate_in_pb2_grpc, import_prefix); diff --git a/src/compiler/schema_interface.h b/src/compiler/schema_interface.h index 41e9322a0d..25bbdb5142 100644 --- a/src/compiler/schema_interface.h +++ b/src/compiler/schema_interface.h @@ -72,10 +72,10 @@ struct Method : public CommentHolder { virtual bool get_module_and_message_path_input( grpc::string *str, grpc::string generator_file_name, - bool generate_in_pb2_grpc) const = 0; + bool generate_in_pb2_grpc, grpc::string import_prefix) const = 0; virtual bool get_module_and_message_path_output( grpc::string *str, grpc::string generator_file_name, - bool generate_in_pb2_grpc) const = 0; + bool generate_in_pb2_grpc, grpc::string import_prefix) const = 0; virtual grpc::string get_input_type_name() const = 0; virtual grpc::string get_output_type_name() const = 0; |