summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/maid_test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/maid_test.cpp b/test/maid_test.cpp
index 2088c83..d6ee1db 100644
--- a/test/maid_test.cpp
+++ b/test/maid_test.cpp
@@ -84,6 +84,7 @@ test()
// Create some threads to produce garbage
std::vector<std::thread> litterers;
+ litterers.reserve(n_threads);
for (size_t i = 0; i < n_threads; ++i) {
litterers.emplace_back(litter, &maid);
}