diff options
Diffstat (limited to 'source/slang/slang-check-conformance.cpp')
| -rw-r--r-- | source/slang/slang-check-conformance.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-check-conformance.cpp b/source/slang/slang-check-conformance.cpp index 9bf343876..34d6c34cd 100644 --- a/source/slang/slang-check-conformance.cpp +++ b/source/slang/slang-check-conformance.cpp @@ -264,7 +264,7 @@ namespace Slang } return true; } - if (auto dynamicType = as<DynamicType>(subType)) + if (const auto dynamicType = as<DynamicType>(subType)) { // A __Dynamic type always conforms to the interface via its witness table. if (outWitness) |
