diff options
author | Konrad Borowski <github@borowski.pw> | 2018-06-02 20:53:30 +0200 |
---|---|---|
committer | Marcus Huderle <huderlem@gmail.com> | 2018-06-03 16:26:04 -0500 |
commit | 9d96147bbf8dabc2a28105d73905808e70b73b0f (patch) | |
tree | 08cbad44e14c093aa277b93a54fab7c7f754e086 /tools/preproc/asm_file.cpp | |
parent | 41578b45d0b4b43354ca88237f7c2fdfa24f3d32 (diff) |
Fix "catching polymorphic type" errors with newest gcc
Diffstat (limited to 'tools/preproc/asm_file.cpp')
-rw-r--r-- | tools/preproc/asm_file.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/preproc/asm_file.cpp b/tools/preproc/asm_file.cpp index bb296b78b..383010aa3 100644 --- a/tools/preproc/asm_file.cpp +++ b/tools/preproc/asm_file.cpp @@ -266,7 +266,7 @@ int AsmFile::ReadString(unsigned char* s) { m_pos += stringParser.ParseString(m_pos, s, length); } - catch (std::runtime_error e) + catch (std::runtime_error& e) { RaiseError(e.what()); } |