From 3967000448807875468673398445854536525610 Mon Sep 17 00:00:00 2001 From: Scott Lagler Date: Tue, 9 Dec 2025 22:08:06 -0500 Subject: Add missing std::vector reserve calls # Conflicts: # function.cpp --- typearchive.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'typearchive.cpp') diff --git a/typearchive.cpp b/typearchive.cpp index acd4447b..ee2bd4df 100644 --- a/typearchive.cpp +++ b/typearchive.cpp @@ -232,6 +232,7 @@ TypeContainer TypeArchive::GetTypeContainer() const bool TypeArchive::AddTypes(const std::vector& types) { std::vector apiTypes; + apiTypes.reserve(types.size()); for (auto& type : types) { BNQualifiedNameAndType qnat; -- cgit v1.3.1