From d48ee255b22f6a19a67eb60bd3e5f05fa2f6d503 Mon Sep 17 00:00:00 2001
From: Harsh Vardhan <harshvd95@gmail.com>
Date: Tue, 14 Mar 2017 23:10:03 +0530
Subject: [PATCH] Update

---
 src/compiler/protobuf_plugin.h  | 4 ++--
 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;
-- 
GitLab