Skip to content

Commit 5247317

Browse files
Merge pull request #2695 from Pinata-Consulting/mpl2-warning-fix
mpl2: fix unnecessary copy warning
2 parents bb4801b + 5f2a6d0 commit 5247317

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mpl2/src/hier_rtlmp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2863,7 +2863,7 @@ void HierRTLMP::multiLevelMacroPlacement(Cluster* parent)
28632863
}
28642864
}
28652865
// add the virtual connections
2866-
for (const auto [cluster1, cluster2] : parent->getVirtualConnections()) {
2866+
for (const auto& [cluster1, cluster2] : parent->getVirtualConnections()) {
28672867
BundledNet net(soft_macro_id_map[cluster_map_[cluster1]->getName()],
28682868
soft_macro_id_map[cluster_map_[cluster2]->getName()],
28692869
virtual_weight_);

0 commit comments

Comments
 (0)