Merge pull request #281 from einstein95/master

Port over preproc commit from pokeruby
This commit is contained in:
Diegoisawesome 2018-07-29 02:19:09 -07:00 committed by GitHub
commit df4c20f1f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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());
}

View File

@ -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());
}