From 74a92e739f933f3147f5bf3a64b337495bf26495 Mon Sep 17 00:00:00 2001 From: Patrick Stewart Date: Wed, 24 Oct 2018 19:40:07 -0400 Subject: [PATCH] Internals: Fix missing static. No functional change. Signed-off-by: Wilson Snyder --- src/V3EmitCBase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/V3EmitCBase.h b/src/V3EmitCBase.h index ee5491a7f..20978275b 100644 --- a/src/V3EmitCBase.h +++ b/src/V3EmitCBase.h @@ -58,7 +58,7 @@ public: static string topClassName() { // Return name of top wrapper module return v3Global.opt.prefix(); } - AstCFile* newCFile(const string& filename, bool slow, bool source) { + static AstCFile* newCFile(const string& filename, bool slow, bool source) { AstCFile* cfilep = new AstCFile(v3Global.rootp()->fileline(), filename); cfilep->slow(slow); cfilep->source(source);