mirror of https://github.com/pret/pokeemerald.git
Merge pull request #281 from einstein95/master
Port over preproc commit from pokeruby
This commit is contained in:
commit
df4c20f1f8
|
@ -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());
|
||||
}
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue