diff options
author | Keith Rothman <537074+litghost@users.noreply.github.com> | 2021-02-23 13:49:01 -0800 |
---|---|---|
committer | Keith Rothman <537074+litghost@users.noreply.github.com> | 2021-02-23 14:08:54 -0800 |
commit | 423a10bc31a20bbdd03e85754971878f5a57f89b (patch) | |
tree | 71b527933c729a2c0486b29d7d272d0cbfe2c0d8 /fpga_interchange/arch.h | |
parent | 85af066d4f5a189ccdc6c7d6bafabb319a946901 (diff) | |
download | nextpnr-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/arch.h')
-rw-r--r-- | fpga_interchange/arch.h | 2 |
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); } |