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 --- nexus/arch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nexus') diff --git a/nexus/arch.h b/nexus/arch.h index df4f976a..41c54cd8 100644 --- a/nexus/arch.h +++ b/nexus/arch.h @@ -1018,7 +1018,7 @@ struct Arch : BaseArch return getBoundPipNet(pip) == nullptr; } - bool checkPipAvailForNet(PipId pip, NetInfo *net) const override + bool checkPipAvailForNet(PipId pip, const NetInfo *net) const override { if (disabled_pips.count(pip)) return false; -- cgit v1.2.3