aboutsummaryrefslogtreecommitdiffstats
path: root/generic/arch.cc
diff options
context:
space:
mode:
Diffstat (limited to 'generic/arch.cc')
-rw-r--r--generic/arch.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/arch.cc b/generic/arch.cc
index 9992e1cd..a1d98200 100644
--- a/generic/arch.cc
+++ b/generic/arch.cc
@@ -468,7 +468,7 @@ bool Arch::checkPipAvail(PipId pip) const
return (!uarch || uarch->checkPipAvail(pip)) && (pip_info(pip).bound_net == nullptr);
}
-bool Arch::checkPipAvailForNet(PipId pip, NetInfo *net) const
+bool Arch::checkPipAvailForNet(PipId pip, const NetInfo *net) const
{
if (uarch && !uarch->checkPipAvailForNet(pip, net))
return false;