summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-check-decl.cpp
diff options
context:
space:
mode:
authorJay Kwak <82421531+jkwak-work@users.noreply.github.com>2024-04-24 08:06:50 -0700
committerGitHub <noreply@github.com>2024-04-24 08:06:50 -0700
commit211b2ffc20d7798cab0b8483ccc3ec2b7ade49ab (patch)
tree5e626aa8a41146d3a2f63c1d3593a8ee0a4863fe /source/slang/slang-check-decl.cpp
parent97631e9a8aae44315a96d57fa8bca75b3799f9cb (diff)
Silent compiler warning about missing override keywords (#4018)
Adding "override" keywords for member functions whereever they need. The compiler warning was visible on CI build but not visible on local visual studio build.
Diffstat (limited to 'source/slang/slang-check-decl.cpp')
-rw-r--r--source/slang/slang-check-decl.cpp2
1 files changed, 1 insertions, 1 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);