aboutsummaryrefslogtreecommitdiffstats
path: root/nexus/post_place.cc
diff options
context:
space:
mode:
Diffstat (limited to 'nexus/post_place.cc')
-rw-r--r--nexus/post_place.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/nexus/post_place.cc b/nexus/post_place.cc
index b6817b57..068c013e 100644
--- a/nexus/post_place.cc
+++ b/nexus/post_place.cc
@@ -88,9 +88,9 @@ struct NexusPostPlaceOpt
void opt_lutffs()
{
int moves_made = 0;
- for (auto cell : sorted(ctx->cells)) {
+ for (auto &cell : ctx->cells) {
// Search for FF cells
- CellInfo *ff = cell.second;
+ CellInfo *ff = cell.second.get();
if (ff->type != id_OXIDE_FF)
continue;
// Check M ('fabric') input net