Merge pull request #3 from pret/master

syncing with source repo
This commit is contained in:
Garak
2018-08-07 22:21:10 -04:00
committed by GitHub
112 changed files with 32793 additions and 36806 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());
}