summaryrefslogtreecommitdiff
path: root/tools/preproc/asm_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/asm_file.cpp
parent1ab872c68e951837b6925dbbdf25c4e8d0b63c82 (diff)
parent85ebd76cd03e1ee84f182585060b3a79b8653e85 (diff)
Merge pull request #3 from pret/master
syncing with source repo
Diffstat (limited to 'tools/preproc/asm_file.cpp')
-rw-r--r--tools/preproc/asm_file.cpp2
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());
}