aboutsummaryrefslogtreecommitdiffstats
path: root/nexus/global.cc
diff options
context:
space:
mode:
Diffstat (limited to 'nexus/global.cc')
-rw-r--r--nexus/global.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/nexus/global.cc b/nexus/global.cc
index 53306e21..fa6212e8 100644
--- a/nexus/global.cc
+++ b/nexus/global.cc
@@ -155,8 +155,8 @@ struct NexusGlobalRouter
void operator()()
{
log_info("Routing globals...\n");
- for (auto net : sorted(ctx->nets)) {
- NetInfo *ni = net.second;
+ for (auto &net : ctx->nets) {
+ NetInfo *ni = net.second.get();
CellInfo *drv = ni->driver.cell;
if (drv == nullptr)
continue;