summaryrefslogtreecommitdiff
path: root/binaryview.cpp
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2019-08-27 07:37:10 -0400
committerPeter LaFosse <peter@vector35.com>2019-08-27 07:37:15 -0400
commit5019d87a1936a07f86512d6de5cbd4b0db3ea25b (patch)
treeb89783a027351987c11ecaaae9b39c3162adea96 /binaryview.cpp
parent6d0c013a6b21aad1afdc413aea0392fe805adabd (diff)
Add support for showing structure offsets and inferring types via hotkey, add changing names/types of structure members from linear/graph view
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));
}