summaryrefslogtreecommitdiffstats
path: root/library/cpp/threading/local_executor
diff options
context:
space:
mode:
Diffstat (limited to 'library/cpp/threading/local_executor')
-rw-r--r--library/cpp/threading/local_executor/local_executor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/threading/local_executor/local_executor.cpp b/library/cpp/threading/local_executor/local_executor.cpp
index 79361b3a769..af998300bff 100644
--- a/library/cpp/threading/local_executor/local_executor.cpp
+++ b/library/cpp/threading/local_executor/local_executor.cpp
@@ -62,7 +62,7 @@ namespace {
TVector<NThreading::TFuture<void>> GetFutures() const {
TVector<NThreading::TFuture<void>> out;
- out.reserve(Promises.ysize());
+ out.reserve(Promises.size());
for (auto& promise : Promises) {
out.push_back(promise.GetFuture());
}