mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-11 10:02:27 +01:00
Use shared_ptr for long-life objects
Use unique_ptr and shared_ptr for IContext, IPlatformEnvironment, IUiContext, and IAudioContext.
This commit is contained in:
@@ -46,8 +46,6 @@ TEST(MultiLaunchTest, all)
|
||||
|
||||
// Check ride count again
|
||||
ASSERT_EQ(gRideCount, 134);
|
||||
|
||||
delete context;
|
||||
}
|
||||
SUCCEED();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user