diff options
author | Vijay Pai <vpai@google.com> | 2015-09-28 15:56:07 -0700 |
---|---|---|
committer | Vijay Pai <vpai@google.com> | 2015-09-28 15:56:07 -0700 |
commit | fa6e70ff852de3276af32b597bf0cd05691c0e9d (patch) | |
tree | fb9a0793d6f224810668041711e2940641d0a7a6 /test/cpp | |
parent | 10ce383e1bfc84ffdfaba082bd413be67c5146d6 (diff) |
Remove one pessimizing std::move
Diffstat (limited to 'test/cpp')
-rw-r--r-- | test/cpp/end2end/streaming_throughput_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/end2end/streaming_throughput_test.cc b/test/cpp/end2end/streaming_throughput_test.cc index d64d96fe93..c1355b38f0 100644 --- a/test/cpp/end2end/streaming_throughput_test.cc +++ b/test/cpp/end2end/streaming_throughput_test.cc @@ -145,7 +145,7 @@ class End2endTest : public ::testing::Test { void ResetStub() { std::shared_ptr<Channel> channel = CreateChannel( server_address_.str(), InsecureCredentials()); - stub_ = std::move(grpc::cpp::test::util::TestService::NewStub(channel)); + stub_ = grpc::cpp::test::util::TestService::NewStub(channel); } std::unique_ptr<grpc::cpp::test::util::TestService::Stub> stub_; |