diff options
| author | Jay Kwak <82421531+jkwak-work@users.noreply.github.com> | 2024-04-24 08:06:50 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-24 08:06:50 -0700 |
| commit | 211b2ffc20d7798cab0b8483ccc3ec2b7ade49ab (patch) | |
| tree | 5e626aa8a41146d3a2f63c1d3593a8ee0a4863fe /source/compiler-core | |
| parent | 97631e9a8aae44315a96d57fa8bca75b3799f9cb (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/compiler-core')
| -rw-r--r-- | source/compiler-core/slang-metal-compiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/compiler-core/slang-metal-compiler.cpp b/source/compiler-core/slang-metal-compiler.cpp index 04bcf0f57..d3bf92bf3 100644 --- a/source/compiler-core/slang-metal-compiler.cpp +++ b/source/compiler-core/slang-metal-compiler.cpp @@ -26,7 +26,7 @@ namespace Slang virtual SLANG_NO_THROW bool SLANG_MCALL isFileBased() override { return true; } - virtual SLANG_NO_THROW SlangResult SLANG_MCALL compile(const CompileOptions& options, IArtifact** outArtifact) + virtual SLANG_NO_THROW SlangResult SLANG_MCALL compile(const CompileOptions& options, IArtifact** outArtifact) override { // All compile requests should be routed directly to the inner compiler. return cppCompiler->compile(options, outArtifact); |
