diff --git a/src/V3EmitCBase.h b/src/V3EmitCBase.h index 7204012ff..8de966d6a 100644 --- a/src/V3EmitCBase.h +++ b/src/V3EmitCBase.h @@ -71,7 +71,7 @@ public: return v3Global.opt.prefix(); } - static bool isConstPoolMod(AstNode* modp) { + static bool isConstPoolMod(const AstNode* modp) { return modp == v3Global.rootp()->constPoolp()->modp(); }