mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-17 12:03:07 +01:00
Catch exceptions using const-reference rather than value
This commit is contained in:
@@ -238,7 +238,7 @@ extern "C"
|
||||
delete zip;
|
||||
Memory::Free(fdata);
|
||||
}
|
||||
catch (Exception ex)
|
||||
catch (const Exception &ex)
|
||||
{
|
||||
Console::Error::WriteLine(ex.GetMessage());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user