aboutsummaryrefslogtreecommitdiffstats
path: root/nexus/pack.cc
diff options
context:
space:
mode:
Diffstat (limited to 'nexus/pack.cc')
-rw-r--r--nexus/pack.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/nexus/pack.cc b/nexus/pack.cc
index df479ef5..32bdfdb9 100644
--- a/nexus/pack.cc
+++ b/nexus/pack.cc
@@ -544,7 +544,7 @@ struct NexusPacker
{
if (!ci->attrs.count(id_BEL))
return BelId();
- return ctx->getBelByName(ctx->id(ci->attrs.at(id_BEL).as_string()));
+ return ctx->getBelByNameStr(ci->attrs.at(id_BEL).as_string());
}
void pack_io()