aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/arch.h
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-02-23 22:55:09 +0000
committerGitHub <noreply@github.com>2021-02-23 22:55:09 +0000
commit19ae97afd12e3fed9d09aaf886f6e25a92de1032 (patch)
tree68b899b428e601e58c531585aec5de3f4cb63f7c /fpga_interchange/arch.h
parent5de19786322412ce151b0341ed714dcdb03433cc (diff)
parent0758f68020efa6d9441eab9de903673f02d47639 (diff)
downloadnextpnr-19ae97afd12e3fed9d09aaf886f6e25a92de1032.tar.gz
nextpnr-19ae97afd12e3fed9d09aaf886f6e25a92de1032.tar.bz2
nextpnr-19ae97afd12e3fed9d09aaf886f6e25a92de1032.zip
Merge pull request #595 from litghost/const_cell_info
Change CellInfo in getBelPinsForCellPin to be const.
Diffstat (limited to 'fpga_interchange/arch.h')
-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);
}