aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2015-09-28 15:56:07 -0700
committerGravatar Vijay Pai <vpai@google.com>2015-09-28 15:56:07 -0700
commitfa6e70ff852de3276af32b597bf0cd05691c0e9d (patch)
treefb9a0793d6f224810668041711e2940641d0a7a6 /test/cpp
parent10ce383e1bfc84ffdfaba082bd413be67c5146d6 (diff)
Remove one pessimizing std::move
Diffstat (limited to 'test/cpp')
-rw-r--r--test/cpp/end2end/streaming_throughput_test.cc2
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_;