aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/surface
diff options
context:
space:
mode:
authorGravatar Soheil Hassas Yeganeh <soheil@google.com>2018-10-08 16:19:50 -0400
committerGravatar Soheil Hassas Yeganeh <soheil@google.com>2018-10-08 16:19:50 -0400
commitd6b140df030f4032a2e039b0af174374141300b0 (patch)
treef4570adaf10eefa8d91a08d3ec8fbdc95a434fd1 /src/core/lib/surface
parent5faf1b72edba62a06dd6b4273c2a36f570b7c949 (diff)
Revert the change in grpc.h because it's part of C API.
I mistakenly added "const ref" which breaks Android client.
Diffstat (limited to 'src/core/lib/surface')
-rw-r--r--src/core/lib/surface/channel.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/core/lib/surface/channel.cc b/src/core/lib/surface/channel.cc
index cd0b3cb458..ebc532c4fd 100644
--- a/src/core/lib/surface/channel.cc
+++ b/src/core/lib/surface/channel.cc
@@ -326,10 +326,12 @@ static grpc_call* grpc_channel_create_call_internal(
return call;
}
-grpc_call* grpc_channel_create_call(
- grpc_channel* channel, grpc_call* parent_call, uint32_t propagation_mask,
- grpc_completion_queue* cq, const grpc_slice& method, const grpc_slice* host,
- gpr_timespec deadline, void* reserved) {
+grpc_call* grpc_channel_create_call(grpc_channel* channel,
+ grpc_call* parent_call,
+ uint32_t propagation_mask,
+ grpc_completion_queue* cq,
+ grpc_slice method, const grpc_slice* host,
+ gpr_timespec deadline, void* reserved) {
GPR_ASSERT(!reserved);
grpc_core::ExecCtx exec_ctx;
grpc_call* call = grpc_channel_create_call_internal(