From a9c4a96c0f14ae651ebf95f48db676368afb21b2 Mon Sep 17 00:00:00 2001 From: Geza Lore Date: Tue, 20 Jul 2021 13:55:38 +0100 Subject: [PATCH] Internals: const pointer argument --- src/V3EmitCBase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }