summaryrefslogtreecommitdiff
path: root/tools/preproc/c_file.cpp
diff options
context:
space:
mode:
authorGarak <garakmon@gmail.com>2018-08-07 22:21:10 -0400
committerGitHub <noreply@github.com>2018-08-07 22:21:10 -0400
commit96ab357bedfb7d4e07a52b518e2bd02375b1f5f5 (patch)
tree92c8775f554e682a05c5995c7baa2d130ebd8aa3 /tools/preproc/c_file.cpp
parent1ab872c68e951837b6925dbbdf25c4e8d0b63c82 (diff)
parent85ebd76cd03e1ee84f182585060b3a79b8653e85 (diff)
Merge pull request #3 from pret/master
syncing with source repo
Diffstat (limited to 'tools/preproc/c_file.cpp')
-rw-r--r--tools/preproc/c_file.cpp2
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());
}