summaryrefslogtreecommitdiff
path: root/typearchive.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'typearchive.cpp')
-rw-r--r--typearchive.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/typearchive.cpp b/typearchive.cpp
index 29dd0d6a..151564db 100644
--- a/typearchive.cpp
+++ b/typearchive.cpp
@@ -148,7 +148,7 @@ Ref<Platform> TypeArchive::GetPlatform() const
BNPlatform* platform = BNGetTypeArchivePlatform(m_object);
if (!platform)
return nullptr;
- return new Platform(platform);
+ return new CorePlatform(platform);
}
@@ -632,4 +632,4 @@ std::optional<std::string> TypeArchive::MergeSnapshots(
}
return resultCpp;
-} \ No newline at end of file
+}