This is an automated email from the ASF dual-hosted git repository.

nicknezis pushed a commit to branch nicknezis/return-std-move-fix
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git

commit 1e52e031cdf46f8c28cb7f4682ca8a1689634ce6
Author: Nicholas Nezis <[email protected]>
AuthorDate: Sat Jun 27 01:04:37 2020 -0400

    Fixing over optimization
---
 heron/tmaster/src/cpp/manager/tmaster.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/heron/tmaster/src/cpp/manager/tmaster.cpp 
b/heron/tmaster/src/cpp/manager/tmaster.cpp
index 36b7845..f8dd296 100644
--- a/heron/tmaster/src/cpp/manager/tmaster.cpp
+++ b/heron/tmaster/src/cpp/manager/tmaster.cpp
@@ -863,7 +863,7 @@ 
std::unique_ptr<proto::tmaster::StmgrsRegistrationSummaryResponse> TMaster::GetS
     response->add_absent_stmgrs(*it);
   }
 
-  return std::move(response);
+  return response;
 }
 
 shared_ptr<proto::system::PhysicalPlan> TMaster::MakePhysicalPlan() {

Reply via email to