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/c_file.cpp | |
parent | 41578b45d0b4b43354ca88237f7c2fdfa24f3d32 (diff) |
Fix "catching polymorphic type" errors with newest gcc
Diffstat (limited to 'tools/preproc/c_file.cpp')
-rw-r--r-- | tools/preproc/c_file.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/preproc/c_file.cpp b/tools/preproc/c_file.cpp index 24b3453e8..2f4bfea7c 100644 --- a/tools/preproc/c_file.cpp +++ b/tools/preproc/c_file.cpp @@ -206,7 +206,7 @@ void CFile::TryConvertString() { m_pos += stringParser.ParseString(m_pos, s, length); } - catch (std::runtime_error e) + catch (std::runtime_error& e) { RaiseError(e.what()); } |