summaryrefslogtreecommitdiff
path: root/view/sharedcache/api/sharedcache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'view/sharedcache/api/sharedcache.cpp')
-rw-r--r--view/sharedcache/api/sharedcache.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/view/sharedcache/api/sharedcache.cpp b/view/sharedcache/api/sharedcache.cpp
index 2b5ba744..a0c4e961 100644
--- a/view/sharedcache/api/sharedcache.cpp
+++ b/view/sharedcache/api/sharedcache.cpp
@@ -161,6 +161,7 @@ namespace SharedCacheAPI {
}
std::vector<DSCSymbol> result;
+ result.reserve(count);
for (size_t i = 0; i < count; i++)
{
DSCSymbol sym;