diff options
Diffstat (limited to 'examples/grpc/client.cpp')
-rw-r--r-- | examples/grpc/client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/grpc/client.cpp b/examples/grpc/client.cpp index 55bcd866d..8fee915fb 100644 --- a/examples/grpc/client.cpp +++ b/examples/grpc/client.cpp @@ -51,7 +51,7 @@ class Client { public: - Client(std::shared_ptr<grpc::Channel> channel) + Client(const std::shared_ptr<grpc::Channel> &channel) : m_stub(PP::MyApi::NewStub(channel)) {} int ping(int count) { |