summaryrefslogtreecommitdiff
path: root/source/slang/slang-emit-cpp.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-emit-cpp.h')
-rw-r--r--source/slang/slang-emit-cpp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-emit-cpp.h b/source/slang/slang-emit-cpp.h
index 71c382f87..89978e68a 100644
--- a/source/slang/slang-emit-cpp.h
+++ b/source/slang/slang-emit-cpp.h
@@ -105,7 +105,7 @@ protected:
/// Maybe emits 'export' (such that visible outside binary/dll) and `extern "C"` naming
void _getExportStyle(IRInst* inst, bool& outIsExport, bool& outIsExternC);
- void _maybeEmitExportLike(IRInst* inst);
+ virtual void _maybeEmitExportLike(IRInst* inst);
static bool _isVariable(IROp op);