diff options
author | 2018-06-07 22:52:23 -0700 | |
---|---|---|
committer | 2018-06-14 14:58:09 -0400 | |
commit | 373fc6dc40a7d12bb257d67188ca3aa3c997d8a6 (patch) | |
tree | a0bf04f2f5ee080b1adeb6d9dc59a91157ae0d45 /test/cpp/interop/http2_client.h | |
parent | 58e0cbf9fb67186ee67be5bb71aba36e9cfebe7f (diff) |
Manual fixes to enable performance- clang tidy checks
Diffstat (limited to 'test/cpp/interop/http2_client.h')
-rw-r--r-- | test/cpp/interop/http2_client.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/cpp/interop/http2_client.h b/test/cpp/interop/http2_client.h index 2bcfdd69db..269d3b32e2 100644 --- a/test/cpp/interop/http2_client.h +++ b/test/cpp/interop/http2_client.h @@ -31,7 +31,7 @@ namespace testing { class Http2Client { public: - explicit Http2Client(std::shared_ptr<Channel> channel); + explicit Http2Client(const std::shared_ptr<Channel>& channel); ~Http2Client() {} bool DoRstAfterHeader(); @@ -44,7 +44,7 @@ class Http2Client { private: class ServiceStub { public: - ServiceStub(std::shared_ptr<Channel> channel); + ServiceStub(const std::shared_ptr<Channel>& channel); TestService::Stub* Get(); @@ -53,7 +53,7 @@ class Http2Client { std::shared_ptr<Channel> channel_; }; - void MaxStreamsWorker(std::shared_ptr<grpc::Channel> channel); + void MaxStreamsWorker(const std::shared_ptr<grpc::Channel>& channel); bool AssertStatusCode(const Status& s, StatusCode expected_code); Status SendUnaryCall(SimpleResponse* response); SimpleRequest BuildDefaultRequest(); |