File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ Box<double> Clock::computeSinkRegionClustered(
9595 auto yMin = std::numeric_limits<float >::max ();
9696 auto yMax = std::numeric_limits<float >::lowest ();
9797
98- for (const auto [sinkX, sinkY] : sinks) {
98+ for (const auto & [sinkX, sinkY] : sinks) {
9999 xMin = std::min (xMin, sinkX);
100100 xMax = std::max (xMax, sinkX);
101101 yMin = std::min (yMin, sinkY);
Original file line number Diff line number Diff line change @@ -3034,7 +3034,7 @@ void HierRTLMP::multiLevelMacroPlacement(Cluster* parent)
30343034 }
30353035 // add the virtual connections (the weight related to IOs and macros belong to
30363036 // the same cluster)
3037- for (const auto [cluster1, cluster2] : parent->getVirtualConnections ()) {
3037+ for (const auto & [cluster1, cluster2] : parent->getVirtualConnections ()) {
30383038 BundledNet net (soft_macro_id_map[cluster_map_[cluster1]->getName ()],
30393039 soft_macro_id_map[cluster_map_[cluster2]->getName ()],
30403040 virtual_weight_);
You can’t perform that action at this time.
0 commit comments