From c62a947a2804c3027471b20815c7544e0fd698d0 Mon Sep 17 00:00:00 2001 From: gatecat Date: Fri, 2 Dec 2022 14:20:39 +0100 Subject: api: Make NetInfo* of checkPipAvailForNet const Signed-off-by: gatecat --- fpga_interchange/arch.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fpga_interchange/arch.cc') diff --git a/fpga_interchange/arch.cc b/fpga_interchange/arch.cc index 3ce9f79e..4fc5d48d 100644 --- a/fpga_interchange/arch.cc +++ b/fpga_interchange/arch.cc @@ -1743,7 +1743,7 @@ void Arch::bindWire(WireId wire, NetInfo *net, PlaceStrength strength) refreshUiWire(wire); } -bool Arch::checkPipAvailForNet(PipId pip, NetInfo *net) const +bool Arch::checkPipAvailForNet(PipId pip, const NetInfo *net) const { NPNR_ASSERT(pip != PipId()); auto pip_iter = pip_to_net.find(pip); -- cgit v1.2.3