diff options
| author | Jay Kwak <82421531+jkwak-work@users.noreply.github.com> | 2025-04-30 14:04:57 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-30 14:04:57 -0700 |
| commit | 678de6547bc8cac15e31de30b400e9a3b45c216f (patch) | |
| tree | 22d52f30c719a232221446d9117ad2016676d491 | |
| parent | 54acb11b1c8b6af2504ff3a3e0f56ca8baba4753 (diff) | |
Fix compiler warning with clang 18.1.8 on windows (#6963)
| -rw-r--r-- | source/slang-record-replay/replay/decoder-helper.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/slang-record-replay/replay/decoder-helper.h b/source/slang-record-replay/replay/decoder-helper.h index f3f1c17f0..9d68adee6 100644 --- a/source/slang-record-replay/replay/decoder-helper.h +++ b/source/slang-record-replay/replay/decoder-helper.h @@ -79,7 +79,7 @@ private: { public: // ISlangUnknown - virtual SlangResult SLANG_MCALL + virtual SLANG_NO_THROW SlangResult SLANG_MCALL queryInterface(SlangUUID const& uuid, void** outObject) override { if (uuid == ISlangUnknown::getTypeGuid() || uuid == ISlangBlob::getTypeGuid()) @@ -91,18 +91,18 @@ private: return SLANG_E_NO_INTERFACE; } - virtual uint32_t SLANG_MCALL addRef() override { return 1; } - virtual uint32_t SLANG_MCALL release() override { return 1; } + virtual SLANG_NO_THROW uint32_t SLANG_MCALL addRef() override { return 1; } + virtual SLANG_NO_THROW uint32_t SLANG_MCALL release() override { return 1; } BlobImpl(const PointerDecoder<void*>* blobData) : m_pBlobData(blobData) { } - virtual const void* SLANG_MCALL getBufferPointer() SLANG_OVERRIDE + virtual SLANG_NO_THROW void const* SLANG_MCALL getBufferPointer() SLANG_OVERRIDE { return m_pBlobData->getPointer(); } - virtual size_t SLANG_MCALL getBufferSize() SLANG_OVERRIDE + virtual SLANG_NO_THROW size_t SLANG_MCALL getBufferSize() SLANG_OVERRIDE { return m_pBlobData->getDataSize(); } |
