From a89389283f504f989a08058d6a2af2c2217dbfcb Mon Sep 17 00:00:00 2001 From: Yang Gao Date: Thu, 14 May 2015 11:51:07 -0700 Subject: support per call credentials in c++ --- test/cpp/util/grpc_cli.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/cpp/util/grpc_cli.cc') diff --git a/test/cpp/util/grpc_cli.cc b/test/cpp/util/grpc_cli.cc index d71a7a0b77..ad3c0af877 100644 --- a/test/cpp/util/grpc_cli.cc +++ b/test/cpp/util/grpc_cli.cc @@ -104,7 +104,7 @@ int main(int argc, char** argv) { std::stringstream input_stream; input_stream << input_file.rdbuf(); - std::unique_ptr creds; + std::shared_ptr creds; if (!FLAGS_enable_ssl) { creds = grpc::InsecureCredentials(); } else { -- cgit v1.2.3