aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/threading/future/async.h
diff options
context:
space:
mode:
authoreeight <eeight@yandex-team.ru>2022-02-10 16:46:19 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:19 +0300
commitbd085aee9b4f7a0bee302ce687964ffb7098f986 (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/threading/future/async.h
parent475c0a46f28166e83fd263badc7546377cddcabe (diff)
downloadydb-bd085aee9b4f7a0bee302ce687964ffb7098f986.tar.gz
Restoring authorship annotation for <eeight@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/threading/future/async.h')
-rw-r--r--library/cpp/threading/future/async.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/threading/future/async.h b/library/cpp/threading/future/async.h
index a7e84cc29b..8543fdd5c6 100644
--- a/library/cpp/threading/future/async.h
+++ b/library/cpp/threading/future/async.h
@@ -3,7 +3,7 @@
#include "future.h"
#include <util/generic/function.h>
-#include <util/thread/pool.h>
+#include <util/thread/pool.h>
namespace NThreading {
/**
@@ -18,7 +18,7 @@ namespace NThreading {
* unittest.
*/
template <typename Func>
- TFuture<TFutureType<TFunctionResult<Func>>> Async(Func&& func, IThreadPool& queue) {
+ TFuture<TFutureType<TFunctionResult<Func>>> Async(Func&& func, IThreadPool& queue) {
auto promise = NewPromise<TFutureType<TFunctionResult<Func>>>();
auto lambda = [promise, func = std::forward<Func>(func)]() mutable {
NImpl::SetValue(promise, func);