File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/grt/src/fastroute/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1870,14 +1870,14 @@ void FastRouteCore::getOverflowPositions(
18701870 for (const auto & [x, y] : graph2d_.getUsedGridsH ()) {
18711871 const int overflow = graph2d_.getOverflowH (x, y);
18721872 if (overflow > 0 ) {
1873- overflow_pos.push_back ( std::make_pair ( odb::Point (x, y), true ) );
1873+ overflow_pos.emplace_back ( odb::Point (x, y), true );
18741874 }
18751875 }
18761876 // Find vertical ggrids with congestion
18771877 for (const auto & [x, y] : graph2d_.getUsedGridsV ()) {
18781878 const int overflow = graph2d_.getOverflowV (x, y);
18791879 if (overflow > 0 ) {
1880- overflow_pos.push_back ( std::make_pair ( odb::Point (x, y), false ) );
1880+ overflow_pos.emplace_back ( odb::Point (x, y), false );
18811881 }
18821882 }
18831883}
You can’t perform that action at this time.
0 commit comments