diff options
author | einstein95 <einstein95@users.noreply.github.com> | 2018-07-29 20:02:31 +1200 |
---|---|---|
committer | einstein95 <einstein95@users.noreply.github.com> | 2018-07-29 20:11:04 +1200 |
commit | aeceecea3d0e3bc2d4ef183263683d3fbf2eaadc (patch) | |
tree | 5da50ee4bdec5a69f36d5d5ad70d7e1df4c73502 /tools/preproc/c_file.cpp | |
parent | 919e7b4387556ce59e2d3a3bcb2ad44fe76ee8ee (diff) |
Port over https://github.com/pret/pokeruby/commit/9d96147bbf8dabc2a28105d73905808e70b73b0f
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()); } |