diff options
Diffstat (limited to 'common/kernel/base_arch.h')
-rw-r--r-- | common/kernel/base_arch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/kernel/base_arch.h b/common/kernel/base_arch.h index 3055619d..55fcf280 100644 --- a/common/kernel/base_arch.h +++ b/common/kernel/base_arch.h @@ -274,7 +274,7 @@ template <typename R> struct BaseArch : ArchAPI<R> p2n_entry = nullptr; } virtual bool checkPipAvail(PipId pip) const override { return getBoundPipNet(pip) == nullptr; } - virtual bool checkPipAvailForNet(PipId pip, NetInfo *net) const override + virtual bool checkPipAvailForNet(PipId pip, const NetInfo *net) const override { NetInfo *bound_net = getBoundPipNet(pip); return bound_net == nullptr || bound_net == net; |