aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/grpc/client.cpp2
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) {