diff options
author | Craig Tiller <ctiller@google.com> | 2016-11-16 15:03:53 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-11-16 15:03:53 -0800 |
commit | f69369741d7090d65064449a3b96712814335a81 (patch) | |
tree | 8798ea1af0eb2edc0984d11bc73b8bb94a813208 /include/grpc++/support | |
parent | 1016d9feca27f295fb8fe1c0e76a9fbd0ef14051 (diff) |
Review feedback
Diffstat (limited to 'include/grpc++/support')
-rw-r--r-- | include/grpc++/support/channel_arguments.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/grpc++/support/channel_arguments.h b/include/grpc++/support/channel_arguments.h index 5879f40447..0c05f5478a 100644 --- a/include/grpc++/support/channel_arguments.h +++ b/include/grpc++/support/channel_arguments.h @@ -107,7 +107,9 @@ class ChannelArguments { /// Set a textual argument \a value under \a key. void SetString(const grpc::string& key, const grpc::string& value); - grpc_channel_args c_args() { + /// 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 out; out.num_args = args_.size(); out.args = args_.empty() ? NULL : &args_[0]; |