aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/util
diff options
context:
space:
mode:
authorGravatar Nathan Herring <nherring@google.com>2018-07-19 23:45:46 +0200
committerGravatar Nathan Herring <nherring@google.com>2018-07-19 23:45:46 +0200
commitc7fae8812f4e44ae3c28aa5b62c2cd1e243d341a (patch)
tree53a3ffd2434cb5f0e36c944690cf53171e81ffec /test/cpp/util
parente1d94dfe606b32f53f3663dd69cf78db2cb0477b (diff)
clang tidy
Diffstat (limited to 'test/cpp/util')
-rw-r--r--test/cpp/util/grpc_tool.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/util/grpc_tool.cc b/test/cpp/util/grpc_tool.cc
index d21e8a30b8..ccc60cca27 100644
--- a/test/cpp/util/grpc_tool.cc
+++ b/test/cpp/util/grpc_tool.cc
@@ -207,7 +207,7 @@ void ReadResponse(CliCall* call, const grpc::string& method_name,
}
std::shared_ptr<grpc::Channel> CreateCliChannel(
- grpc::string server_address, const CliCredentials& cred) {
+ const grpc::string& server_address, const CliCredentials& cred) {
grpc::ChannelArguments args;
if (!cred.GetSslTargetNameOverride().empty()) {
args.SetSslTargetNameOverride(cred.GetSslTargetNameOverride());