aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/coroutine/engine/poller.cpp
diff options
context:
space:
mode:
authorelantsev <elantsev@yandex-team.ru>2022-02-10 16:49:47 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:47 +0300
commitafa1b6e6f8b6ee9f8df080d41bcb19b95c25c261 (patch)
tree0be08f6ef31456c320cbd3f575673be79c911588 /library/cpp/coroutine/engine/poller.cpp
parent93452ad7de84fbd34e7ba9a906bf10ce1536d722 (diff)
downloadydb-afa1b6e6f8b6ee9f8df080d41bcb19b95c25c261.tar.gz
Restoring authorship annotation for <elantsev@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/coroutine/engine/poller.cpp')
-rw-r--r--library/cpp/coroutine/engine/poller.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/coroutine/engine/poller.cpp b/library/cpp/coroutine/engine/poller.cpp
index 61164fa56b..4a8a33e4af 100644
--- a/library/cpp/coroutine/engine/poller.cpp
+++ b/library/cpp/coroutine/engine/poller.cpp
@@ -82,9 +82,9 @@ namespace {
}
void Reserve(size_t size) {
- E_.Reserve(size);
- }
-
+ E_.Reserve(size);
+ }
+
void Wait(TEvents& events, TInstant deadLine) {
const size_t ret = P_.WaitD(~E_, +E_, deadLine);
@@ -220,8 +220,8 @@ namespace {
for (TFds::TConstIterator it = S_.Begin(); it != S_.End(); ++it) {
t.Set(*it);
}
-
- t.Reserve(Size());
+
+ t.Reserve(Size());
}
void Set(const TChange& c) {