summaryrefslogtreecommitdiff
path: root/source/slang/slang-compiler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-compiler.cpp')
-rw-r--r--source/slang/slang-compiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-compiler.cpp b/source/slang/slang-compiler.cpp
index 8a8017ef3..83f362ec7 100644
--- a/source/slang/slang-compiler.cpp
+++ b/source/slang/slang-compiler.cpp
@@ -2278,7 +2278,7 @@ SlangResult dissassembleDXILUsingDXC(
{
stream.write(m_containerBlob->getBufferPointer(), m_containerBlob->getBufferSize());
}
- catch (IOException&)
+ catch (const IOException&)
{
// Unable to write
return SLANG_FAIL;