summaryrefslogtreecommitdiff
path: root/enterprise.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'enterprise.cpp')
-rw-r--r--enterprise.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/enterprise.cpp b/enterprise.cpp
index bc81a4ec..9f7ed44c 100644
--- a/enterprise.cpp
+++ b/enterprise.cpp
@@ -55,6 +55,7 @@ std::vector<std::pair<std::string, std::string>> BinaryNinja::Enterprise::GetAut
size_t count = BNGetEnterpriseServerAuthenticationMethods(&methods, &names);
std::vector<std::pair<std::string, std::string>> results;
+ results.reserve(count);
for (size_t i = 0; i < count; i++)
{
results.push_back({methods[i], names[i]});