We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f157be3 commit 3973446Copy full SHA for 3973446
lib/environment.cc
@@ -270,7 +270,7 @@ auto Environment::startup(const TimePoint& start_time) -> std::thread {
270
271
return std::thread([this]() {
272
std::vector<std::thread> threads;
273
- threads.resize(contained_environments_.size());
+ threads.reserve(contained_environments_.size());
274
// startup all contained environments recursively
275
for (auto* env : contained_environments_) {
276
threads.emplace_back(env->startup(start_time_));
0 commit comments