1
0
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:
Ted John
2018-04-20 19:58:59 +01:00
parent c7b40cec7c
commit 7dc170ef85
33 changed files with 144 additions and 120 deletions

View File

@@ -46,8 +46,6 @@ TEST(MultiLaunchTest, all)
// Check ride count again
ASSERT_EQ(gRideCount, 134);
delete context;
}
SUCCEED();
}