Skip to content

Commit

Permalink
#2174: restore original operator+ function signature
Browse files Browse the repository at this point in the history
  • Loading branch information
cwschilly authored and cz4rs committed Sep 20, 2024
1 parent c92a768 commit 7f9c2f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vt/vrt/collection/balance/lb_invoke/lb_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ struct GatherTVInfo {
s | rank_map | info | phase;
}

friend GatherTVInfo operator+(GatherTVInfo& a1, GatherTVInfo const& a2) {
friend GatherTVInfo operator+(GatherTVInfo a1, GatherTVInfo const& a2) {
for (auto& [node, rank] : a2.rank_map) {
a1.rank_map[node] = rank;
}
Expand Down

0 comments on commit 7f9c2f0

Please sign in to comment.