summaryrefslogtreecommitdiffstats
path: root/source/core/slang-castable.h
diff options
context:
space:
mode:
authorJay Kwak <82421531+jkwak-work@users.noreply.github.com>2025-04-17 02:34:39 -0700
committerGitHub <noreply@github.com>2025-04-17 09:34:39 +0000
commit04db5a95657a8c1ad1db36570eadaeedbea01cbb (patch)
tree4d61bd130c86a0d60c55bf1fa14e79b6fce8dcd7 /source/core/slang-castable.h
parent297417c754961d2c1c3f8a2e94126c668e4574bc (diff)
Fix compiler warning with clang 18.1.8 on windows (#6843)
* Fix compiler warning with clang 18.1.8 on windows
Diffstat (limited to 'source/core/slang-castable.h')
-rw-r--r--source/core/slang-castable.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/core/slang-castable.h b/source/core/slang-castable.h
index 50b41766a..e3591577d 100644
--- a/source/core/slang-castable.h
+++ b/source/core/slang-castable.h
@@ -77,7 +77,10 @@ public:
// IBoxValue
virtual SLANG_NO_THROW void* SLANG_MCALL getValuePtr() SLANG_OVERRIDE { return &m_value; }
- virtual SlangUUID SLANG_MCALL getValueTypeGuid() SLANG_OVERRIDE { return T::getTypeGuid(); }
+ virtual SLANG_NO_THROW SlangUUID SLANG_MCALL getValueTypeGuid() SLANG_OVERRIDE
+ {
+ return T::getTypeGuid();
+ }
BoxValue() {}