From fa6e70ff852de3276af32b597bf0cd05691c0e9d Mon Sep 17 00:00:00 2001 From: Vijay Pai Date: Mon, 28 Sep 2015 15:56:07 -0700 Subject: [PATCH] Remove one pessimizing std::move --- test/cpp/end2end/streaming_throughput_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cpp/end2end/streaming_throughput_test.cc b/test/cpp/end2end/streaming_throughput_test.cc index d64d96fe939..c1355b38f0f 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 = 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 stub_;