@@ -331,8 +331,7 @@ void frRegionQuery::Impl::addGRObj(grVia* via,
331331 ObjectsByLayer<grBlockObject>& allShapes)
332332{
333333 odb::Rect frb = via->getBBox ();
334- allShapes.at (via->getViaDef ()->getCutLayerNum ())
335- .emplace_back (frb, via);
334+ allShapes.at (via->getViaDef ()->getCutLayerNum ()).emplace_back (frb, via);
336335}
337336
338337void frRegionQuery::removeGRObj (grVia* via)
@@ -378,8 +377,7 @@ void frRegionQuery::Impl::add(frVia* via,
378377 if (shape->typeId () == frcRect) {
379378 odb::Rect frb = shape->getBBox ();
380379 xform.apply (frb);
381- allShapes.at (via->getViaDef ()->getLayer1Num ())
382- .emplace_back (frb, via);
380+ allShapes.at (via->getViaDef ()->getLayer1Num ()).emplace_back (frb, via);
383381 } else {
384382 logger->error (DRT, 11 , " Unsupported region query add." );
385383 }
@@ -389,8 +387,7 @@ void frRegionQuery::Impl::add(frVia* via,
389387 if (shape->typeId () == frcRect) {
390388 odb::Rect frb = shape->getBBox ();
391389 xform.apply (frb);
392- allShapes.at (via->getViaDef ()->getLayer2Num ())
393- .emplace_back (frb, via);
390+ allShapes.at (via->getViaDef ()->getLayer2Num ()).emplace_back (frb, via);
394391 } else {
395392 logger->error (DRT, 12 , " Unsupported region query add." );
396393 }
@@ -400,8 +397,7 @@ void frRegionQuery::Impl::add(frVia* via,
400397 if (shape->typeId () == frcRect) {
401398 odb::Rect frb = shape->getBBox ();
402399 xform.apply (frb);
403- allShapes.at (via->getViaDef ()->getCutLayerNum ())
404- .emplace_back (frb, via);
400+ allShapes.at (via->getViaDef ()->getCutLayerNum ()).emplace_back (frb, via);
405401 } else {
406402 logger->error (DRT, 13 , " Unsupported region query add." );
407403 }
@@ -419,8 +415,7 @@ void frRegionQuery::Impl::addDRObj(frVia* via,
419415 ObjectsByLayer<frBlockObject>& allShapes)
420416{
421417 odb::Rect frb = via->getBBox ();
422- allShapes.at (via->getViaDef ()->getCutLayerNum ())
423- .emplace_back (frb, via);
418+ allShapes.at (via->getViaDef ()->getCutLayerNum ()).emplace_back (frb, via);
424419}
425420
426421void frRegionQuery::removeDRObj (frVia* via)
0 commit comments