einstein95 committed 2018-07-29 20:11:04 +12:00
1 parent 919e7b4387
commit aeceecea3d
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -266,7 +266,7 @@ int AsmFile::ReadString(unsigned char* s)
{ {
m_pos += stringParser.ParseString(m_pos, s, length); m_pos += stringParser.ParseString(m_pos, s, length);
} }
catch (std::runtime_error e) catch (std::runtime_error& e)
{ {
RaiseError(e.what()); RaiseError(e.what());
} }
+1 -1
View File
@@ -206,7 +206,7 @@ void CFile::TryConvertString()
{ {
m_pos += stringParser.ParseString(m_pos, s, length); m_pos += stringParser.ParseString(m_pos, s, length);
} }
catch (std::runtime_error e) catch (std::runtime_error& e)
{ {
RaiseError(e.what()); RaiseError(e.what());
} }