aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/threading/future/async_ut.cpp
diff options
context:
space:
mode:
authoreeight <eeight@yandex-team.ru>2022-02-10 16:46:18 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:18 +0300
commit475c0a46f28166e83fd263badc7546377cddcabe (patch)
tree39c5a49b8aaad78fe390b6f1f2886bdbda40f3e7 /library/cpp/threading/future/async_ut.cpp
parenta6e0145a095c7bb3770d6e07aee301de5c73f96e (diff)
downloadydb-475c0a46f28166e83fd263badc7546377cddcabe.tar.gz
Restoring authorship annotation for <eeight@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/threading/future/async_ut.cpp')
-rw-r--r--library/cpp/threading/future/async_ut.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/threading/future/async_ut.cpp b/library/cpp/threading/future/async_ut.cpp
index a3699744e4..6901ed2621 100644
--- a/library/cpp/threading/future/async_ut.cpp
+++ b/library/cpp/threading/future/async_ut.cpp
@@ -36,7 +36,7 @@ Y_UNIT_TEST_SUITE(Async) {
}
Y_UNIT_TEST(WorksWithIMtpQueue) {
- auto queue = MakeHolder<TThreadPool>();
+ auto queue = MakeHolder<TThreadPool>();
queue->Start(1);
auto future = NThreading::Async([]() { return 5; }, *queue);
@@ -46,7 +46,7 @@ Y_UNIT_TEST_SUITE(Async) {
Y_UNIT_TEST(ProperlyDeducesFutureType) {
// Compileability test
- auto queue = CreateThreadPool(1);
+ auto queue = CreateThreadPool(1);
NThreading::TFuture<void> f1 = NThreading::Async([]() {}, *queue);
NThreading::TFuture<int> f2 = NThreading::Async([]() { return 5; }, *queue);