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 aaf63bf0..98f3169f 100644
--- a/binaryview.cpp
+++ b/binaryview.cpp
@@ -3095,7 +3095,7 @@ unordered_set<QualifiedName> BinaryView::GetOutgoingRecursiveTypeReferences(cons
{
size_t count;
vector<BNQualifiedName> apiTypes;
- apiTypes.resize(types.size());
+ apiTypes.reserve(types.size());
for (auto& type: types)
{
apiTypes.push_back(type.GetAPIObject());