diff options
author | alexanderplat <alexanderplat@yandex-team.com> | 2022-10-31 17:05:28 +0300 |
---|---|---|
committer | alexanderplat <alexanderplat@yandex-team.com> | 2022-10-31 17:05:28 +0300 |
commit | cba4fefdeb4e88061dbbe0a793a1603f4924fab2 (patch) | |
tree | 5b271eb0ae8be09ab23fb72ed39304de357f6511 /library/cpp | |
parent | f34c848ea53ef9c9aeff998d7187812a0b5ad7d5 (diff) | |
download | ydb-cba4fefdeb4e88061dbbe0a793a1603f4924fab2.tar.gz |
Remove unlocalized mode from NLG library
Diffstat (limited to 'library/cpp')
-rw-r--r-- | library/cpp/yt/threading/event_count-inl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/library/cpp/yt/threading/event_count-inl.h b/library/cpp/yt/threading/event_count-inl.h index ee247b6831e..21cc88c70b0 100644 --- a/library/cpp/yt/threading/event_count-inl.h +++ b/library/cpp/yt/threading/event_count-inl.h @@ -148,7 +148,8 @@ inline bool TEvent::Test() const inline bool TEvent::Wait(TInstant deadline) { - return EventCount_.Await([=] () { + return EventCount_.Await( + [&] { return Set_.load(std::memory_order_acquire); }, deadline); |