Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Fixing over optimization that stops Return Value Optimization #3549

Merged
merged 1 commit into from
Jul 2, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion heron/tmaster/src/cpp/manager/tmaster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down