aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange
diff options
context:
space:
mode:
authorKeith Rothman <537074+litghost@users.noreply.github.com>2021-02-23 13:49:01 -0800
committerKeith Rothman <537074+litghost@users.noreply.github.com>2021-02-23 14:08:54 -0800
commit423a10bc31a20bbdd03e85754971878f5a57f89b (patch)
tree71b527933c729a2c0486b29d7d272d0cbfe2c0d8 /fpga_interchange
parent85af066d4f5a189ccdc6c7d6bafabb319a946901 (diff)
downloadnextpnr-423a10bc31a20bbdd03e85754971878f5a57f89b.tar.gz
nextpnr-423a10bc31a20bbdd03e85754971878f5a57f89b.tar.bz2
nextpnr-423a10bc31a20bbdd03e85754971878f5a57f89b.zip
Change CellInfo in getBelPinsForCellPin to be const.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'fpga_interchange')
-rw-r--r--fpga_interchange/arch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpga_interchange/arch.h b/fpga_interchange/arch.h
index 82a2788b..1118a96b 100644
--- a/fpga_interchange/arch.h
+++ b/fpga_interchange/arch.h
@@ -1033,7 +1033,7 @@ struct Arch : ArchAPI<ArchRanges>
return str_range;
}
- const std::vector<IdString> &getBelPinsForCellPin(CellInfo *cell_info, IdString pin) const override
+ const std::vector<IdString> &getBelPinsForCellPin(const CellInfo *cell_info, IdString pin) const override
{
return cell_info->cell_bel_pins.at(pin);
}