pull/19316/head
Yash Tibrewal 6 years ago
parent 90f1c32b85
commit 219c3b38aa
  1. 4
      test/cpp/end2end/delegating_channel_test.cc

@ -45,8 +45,8 @@ namespace {
class TestChannel : public internal::DelegatingChannel {
public:
TestChannel(std::shared_ptr<ChannelInterface> delegate_channel)
: internal::DelegatingChannel(std::move(delegate_channel)) {}
TestChannel(const std::shared_ptr<ChannelInterface>& delegate_channel)
: internal::DelegatingChannel(delegate_channel) {}
// Always returns GRPC_CHANNEL_READY
grpc_connectivity_state GetState(bool try_to_connect) override {
return GRPC_CHANNEL_READY;

Loading…
Cancel
Save