diff options
| author | Glenn Smith <glenn@vector35.com> | 2025-12-18 13:44:40 -0500 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2025-12-18 13:44:40 -0500 |
| commit | 7556875977985880864998112889936146780175 (patch) | |
| tree | 1343321f53112b3610139789a01b8d4593b4087e /binaryview.cpp | |
| parent | 39da63b33c14cfa3f640a761fad1e27b79f9c91f (diff) | |
Fix vector::resize -> reserve call
Diffstat (limited to 'binaryview.cpp')
| -rw-r--r-- | binaryview.cpp | 2 |
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()); |
