diff options
Diffstat (limited to 'ecp5/arch.cc')
-rw-r--r-- | ecp5/arch.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ecp5/arch.cc b/ecp5/arch.cc index 377b8665..d72b0085 100644 --- a/ecp5/arch.cc +++ b/ecp5/arch.cc @@ -479,7 +479,7 @@ DecalXY Arch::getBelDecal(BelId bel) const decalxy.decal.type = DecalId::TYPE_BEL; decalxy.decal.location = bel.location; decalxy.decal.z = bel.index; - decalxy.decal.active = bel_to_cell.count(bel) && (bel_to_cell.at(bel) != IdString()); + decalxy.decal.active = bel_to_cell.count(bel) && (bel_to_cell.at(bel) != nullptr); return decalxy; } |