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);