aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--cpp/helloworld/greeter_async_client.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/helloworld/greeter_async_client.cc b/cpp/helloworld/greeter_async_client.cc
index f94663fdd6..5fa6ec6edb 100644
--- a/cpp/helloworld/greeter_async_client.cc
+++ b/cpp/helloworld/greeter_async_client.cc
@@ -59,7 +59,7 @@ using helloworld::Greeter;
class GreeterClient {
public:
- GreeterClient(std::shared_ptr<ChannelInterface> channel)
+ explicit GreeterClient(std::shared_ptr<ChannelInterface> channel)
: stub_(Greeter::NewStub(channel)) {}
std::string SayHello(const std::string& user) {