diff options
Diffstat (limited to 'source/slangc/main.cpp')
| -rw-r--r-- | source/slangc/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slangc/main.cpp b/source/slangc/main.cpp index da9a21b7a..3074f3540 100644 --- a/source/slangc/main.cpp +++ b/source/slangc/main.cpp @@ -64,7 +64,7 @@ SLANG_TEST_TOOL_API SlangResult innerMain(StdWriters* stdWriters, SlangSession* res = SLANG_FAILED(res) ? SLANG_E_INTERNAL_FAIL : res; } #ifndef _DEBUG - catch (Exception & e) + catch (const Exception& e) { StdWriters::getOut().print("internal compiler error: %S\n", e.Message.toWString().begin()); res = SLANG_FAIL; |
