aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/impl/codegen
diff options
context:
space:
mode:
authorGravatar Julien Boeuf <jboeuf@google.com>2016-08-25 21:22:55 -0700
committerGravatar Julien Boeuf <jboeuf@google.com>2016-08-25 21:22:55 -0700
commit2b2b345841be2f2d1fd220264c034bdf440eb0ca (patch)
treebb7cf1a98448af88a2398cd2386a8b13c34746ed /include/grpc++/impl/codegen
parent6b93d46bb841200f100cb0dd7f8c6b62af445078 (diff)
Addressing feedback.
Diffstat (limited to 'include/grpc++/impl/codegen')
-rw-r--r--include/grpc++/impl/codegen/client_context.h4
-rw-r--r--include/grpc++/impl/codegen/server_context.h4
2 files changed, 2 insertions, 6 deletions
diff --git a/include/grpc++/impl/codegen/client_context.h b/include/grpc++/impl/codegen/client_context.h
index 156bdb82f7..72ed639b03 100644
--- a/include/grpc++/impl/codegen/client_context.h
+++ b/include/grpc++/impl/codegen/client_context.h
@@ -309,9 +309,7 @@ class ClientContext {
// Should be used for framework-level extensions only.
// Applications never need to call this method.
- grpc_call* c_call() const {
- return call_;
- }
+ grpc_call* c_call() { return call_; }
private:
// Disallow copy and assign.
diff --git a/include/grpc++/impl/codegen/server_context.h b/include/grpc++/impl/codegen/server_context.h
index 82cb5a32ea..c9d1f4d69e 100644
--- a/include/grpc++/impl/codegen/server_context.h
+++ b/include/grpc++/impl/codegen/server_context.h
@@ -168,9 +168,7 @@ class ServerContext {
// Should be used for framework-level extensions only.
// Applications never need to call this method.
- grpc_call* c_call() const {
- return call_;
- }
+ grpc_call* c_call() { return call_; }
private:
friend class ::grpc::testing::InteropServerContextInspector;