diff options
author | Craig Tiller <ctiller@google.com> | 2017-02-23 17:10:04 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-03-21 08:15:19 -0700 |
commit | 18f09a01f659e9004740766dfc5ab46e2aeea00e (patch) | |
tree | 0c4eb597e2dba6ae23118e88ddb3235540736f18 /include/grpc++/support | |
parent | d5fa26eecde59c33a0205c4ed54ffdb5234807e7 (diff) |
Add benchmark suite for chttp2
Diffstat (limited to 'include/grpc++/support')
-rw-r--r-- | include/grpc++/support/channel_arguments.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/grpc++/support/channel_arguments.h b/include/grpc++/support/channel_arguments.h index 80a3bfda3d..61307d6194 100644 --- a/include/grpc++/support/channel_arguments.h +++ b/include/grpc++/support/channel_arguments.h @@ -117,10 +117,10 @@ class ChannelArguments { /// Return (by value) a c grpc_channel_args structure which points to /// arguments owned by this ChannelArguments instance - grpc_channel_args c_channel_args() { + grpc_channel_args c_channel_args() const { grpc_channel_args out; out.num_args = args_.size(); - out.args = args_.empty() ? NULL : &args_[0]; + out.args = args_.empty() ? NULL : const_cast<grpc_arg*>(&args_[0]); return out; } |