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 --- basedetection.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'basedetection.cpp') diff --git a/basedetection.cpp b/basedetection.cpp index 0b660d36..245522fb 100644 --- a/basedetection.cpp +++ b/basedetection.cpp @@ -84,6 +84,7 @@ std::vector BaseAddressDetection::GetReasonsForBas if (!reasons) return result; + result.reserve(count); for (size_t i = 0; i < count; i++) result.push_back(reasons[i]); -- cgit v1.3.1