summaryrefslogtreecommitdiff
path: root/binaryview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'binaryview.cpp')
-rw-r--r--binaryview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/binaryview.cpp b/binaryview.cpp
index 853d42d3..0f693d2d 100644
--- a/binaryview.cpp
+++ b/binaryview.cpp
@@ -2568,7 +2568,7 @@ Ref<Type> BinaryView::GetTypeByName(const QualifiedName& name)
if (!type)
return nullptr;
- return new Type(type);
+ return new Type(BNNewTypeReference(type));
}