Skip to content

Commit 3973446

Browse files
committed
fixing enclave threads
1 parent f157be3 commit 3973446

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/environment.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ auto Environment::startup(const TimePoint& start_time) -> std::thread {
270270

271271
return std::thread([this]() {
272272
std::vector<std::thread> threads;
273-
threads.resize(contained_environments_.size());
273+
threads.reserve(contained_environments_.size());
274274
// startup all contained environments recursively
275275
for (auto* env : contained_environments_) {
276276
threads.emplace_back(env->startup(start_time_));

0 commit comments

Comments
 (0)