summaryrefslogtreecommitdiff
path: root/function.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'function.cpp')
-rw-r--r--function.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/function.cpp b/function.cpp
index 27a91952..2838f079 100644
--- a/function.cpp
+++ b/function.cpp
@@ -192,7 +192,7 @@ Ref<BinaryView> Function::GetView() const
Ref<Platform> Function::GetPlatform() const
{
- return new Platform(BNGetFunctionPlatform(m_object));
+ return new CorePlatform(BNGetFunctionPlatform(m_object));
}