Remove one pessimizing std::move

pull/3554/head
Vijay Pai 9 years ago
parent 10ce383e1b
commit fa6e70ff85
  1. 2
      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_;

Loading…
Cancel
Save