1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 04:23:20 +01:00

Fix types of caught exception in IniReader.cpp

This commit is contained in:
Michał Janiszewski
2018-01-18 17:07:17 +01:00
committed by Michał Janiszewski
parent af76cef94b
commit 48c3225cb7

View File

@@ -152,7 +152,7 @@ public:
{
result = std::stoi(value);
}
catch (std::exception)
catch (const std::exception &)
{
}
}
@@ -169,7 +169,7 @@ public:
{
result = std::stof(value);
}
catch (std::exception)
catch (const std::exception &)
{
}
}