summaryrefslogtreecommitdiff
path: root/typecontainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'typecontainer.cpp')
-rw-r--r--typecontainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/typecontainer.cpp b/typecontainer.cpp
index 6050fde3..b6fd54f3 100644
--- a/typecontainer.cpp
+++ b/typecontainer.cpp
@@ -128,7 +128,7 @@ Ref<Platform> TypeContainer::GetPlatform() const
BNPlatform* platform = BNTypeContainerGetPlatform(m_object);
if (!platform)
return nullptr;
- return new Platform(platform);
+ return new CorePlatform(platform);
}