Merge pull request #3554 from vjpai/stt

Remove one pessimizing std::move
pull/2080/merge
Nicolas Noble 9 years ago
commit 2d8c6b37d1
  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