mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 14:24:33 +01:00
Remove custom base Exception class
This commit is contained in:
@@ -107,9 +107,9 @@ void NetworkUserManager::Load()
|
||||
}
|
||||
json_decref(jsonUsers);
|
||||
}
|
||||
catch (const Exception &ex)
|
||||
catch (const std::exception &ex)
|
||||
{
|
||||
Console::Error::WriteLine("Failed to read %s as JSON. %s", path, ex.GetMessage());
|
||||
Console::Error::WriteLine("Failed to read %s as JSON. %s", path, ex.what());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -127,7 +127,7 @@ void NetworkUserManager::Save()
|
||||
jsonUsers = Json::ReadFromFile(path);
|
||||
}
|
||||
}
|
||||
catch (const Exception &)
|
||||
catch (const std::exception &)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user