aboutsummaryrefslogtreecommitdiffstats
path: root/common/placer_heap.cc
diff options
context:
space:
mode:
Diffstat (limited to 'common/placer_heap.cc')
-rw-r--r--common/placer_heap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/placer_heap.cc b/common/placer_heap.cc
index f1419bdb..a1d4a61b 100644
--- a/common/placer_heap.cc
+++ b/common/placer_heap.cc
@@ -638,7 +638,7 @@ class HeAPPlacer
for (auto cell : place_cells) {
chain_size[cell->name] = 1;
if (cell->cluster != ClusterId()) {
- const auto &base = cell_locs[cell->name];
+ const auto base = cell_locs[cell->name];
for (auto child : cluster2cells.at(cell->cluster)) {
if (child->type == cell->type && child != cell)
chain_size[cell->name]++;