Review feedback

pull/8503/head
Craig Tiller 8 years ago
parent 1016d9feca
commit f69369741d
  1. 4
      include/grpc++/support/channel_arguments.h
  2. 2
      test/cpp/microbenchmarks/bm_fullstack.cc

@ -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];

@ -164,7 +164,7 @@ class EndpointPairFixture {
ChannelArguments args;
args.SetString(GRPC_ARG_DEFAULT_AUTHORITY, "test.authority");
grpc_channel_args c_args = args.c_args();
grpc_channel_args c_args = args.c_channel_args();
grpc_transport* transport =
grpc_create_chttp2_transport(&exec_ctx, &c_args, endpoints.client, 1);
GPR_ASSERT(transport);

Loading…
Cancel
Save