From 219c3b38aa9d108c3c1126f4bed93c60a341b5c3 Mon Sep 17 00:00:00 2001 From: Yash Tibrewal Date: Thu, 13 Jun 2019 16:55:37 -0700 Subject: [PATCH] Clang-tidy --- test/cpp/end2end/delegating_channel_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/cpp/end2end/delegating_channel_test.cc b/test/cpp/end2end/delegating_channel_test.cc index 764a3eade88..553ec94f1dc 100644 --- a/test/cpp/end2end/delegating_channel_test.cc +++ b/test/cpp/end2end/delegating_channel_test.cc @@ -45,8 +45,8 @@ namespace { class TestChannel : public internal::DelegatingChannel { public: - TestChannel(std::shared_ptr delegate_channel) - : internal::DelegatingChannel(std::move(delegate_channel)) {} + TestChannel(const std::shared_ptr& delegate_channel) + : internal::DelegatingChannel(delegate_channel) {} // Always returns GRPC_CHANNEL_READY grpc_connectivity_state GetState(bool try_to_connect) override { return GRPC_CHANNEL_READY;