mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-25 11:14:15 +01:00
Port over 9d96147bbf
This commit is contained in:
parent
919e7b4387
commit
aeceecea3d
@ -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
Block a user