1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 06:44:38 +01:00

Use unique_ptr and shared_ptr for services in Context

This commit is contained in:
Ted John
2018-04-20 22:16:37 +01:00
parent bece5e5429
commit 529c744276
19 changed files with 79 additions and 88 deletions

View File

@@ -105,7 +105,7 @@ exitcode_t CommandLine::HandleCommandConvert(CommandLineArgEnumerator * enumerat
try
{
auto importer = std::unique_ptr<IParkImporter>(ParkImporter::Create(sourcePath));
auto importer = ParkImporter::Create(sourcePath);
importer->Load(sourcePath);
importer->Import();
}