summaryrefslogtreecommitdiff
path: root/source/slang
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang')
-rw-r--r--source/slang/slang-check-decl.cpp2
-rwxr-xr-xsource/slang/slang-compiler.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/slang-check-decl.cpp b/source/slang/slang-check-decl.cpp
index cb68dced9..0f9da12c4 100644
--- a/source/slang/slang-check-decl.cpp
+++ b/source/slang/slang-check-decl.cpp
@@ -9847,7 +9847,7 @@ namespace Slang
loc = Base::sourceLocStack.getLast();
handleReferenceFunc(decl, decl->inferredCapabilityRequirements, loc);
}
- virtual void processDeclModifiers(Decl* decl)
+ virtual void processDeclModifiers(Decl* decl) override
{
if (decl)
handleReferenceFunc(decl, decl->inferredCapabilityRequirements, decl->loc);
diff --git a/source/slang/slang-compiler.h b/source/slang/slang-compiler.h
index fc4bc355b..105db5789 100755
--- a/source/slang/slang-compiler.h
+++ b/source/slang/slang-compiler.h
@@ -1346,7 +1346,7 @@ namespace Slang
char const* name,
SlangStage stage,
slang::IEntryPoint** outEntryPoint,
- ISlangBlob** outDiagnostics)
+ ISlangBlob** outDiagnostics) override
{
ComPtr<slang::IEntryPoint> entryPoint(findAndCheckEntryPoint(UnownedStringSlice(name), stage, outDiagnostics));
if ((!entryPoint))