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 --- type.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'type.cpp') diff --git a/type.cpp b/type.cpp index 17f78840..086ac863 100644 --- a/type.cpp +++ b/type.cpp @@ -2218,6 +2218,7 @@ TypeBuilder& TypeBuilder::AddPointerSuffix(BNPointerSuffix ps) TypeBuilder& TypeBuilder::SetPointerSuffix(const std::set& suffix) { std::vector apiSuffix; + apiSuffix.reserve(suffix.size()); for (auto& s: suffix) { apiSuffix.push_back(s); -- cgit v1.3.1