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:
committed by
Michał Janiszewski
parent
af76cef94b
commit
48c3225cb7
@@ -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 &)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user