diff options
author | a-romanov <a-romanov@yandex-team.ru> | 2022-02-10 16:48:10 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:10 +0300 |
commit | aa2986a34bde73b2cdcea5080c4443b7cf2ba686 (patch) | |
tree | 410fbde59311309b774a0da147f79628c3429a2c /library/cpp/messagebus/async_result.h | |
parent | e77cfd118321c5b9c168fdee41b4e6c5706b8f68 (diff) | |
download | ydb-aa2986a34bde73b2cdcea5080c4443b7cf2ba686.tar.gz |
Restoring authorship annotation for <a-romanov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/messagebus/async_result.h')
-rw-r--r-- | library/cpp/messagebus/async_result.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/messagebus/async_result.h b/library/cpp/messagebus/async_result.h index d24dde284a..1aaa6b26ff 100644 --- a/library/cpp/messagebus/async_result.h +++ b/library/cpp/messagebus/async_result.h @@ -5,8 +5,8 @@ #include <util/system/condvar.h> #include <util/system/mutex.h> #include <util/system/yassert.h> - -#include <functional> + +#include <functional> // probably this thing should have been called TFuture template <typename T> @@ -19,7 +19,7 @@ private: typedef void TOnResult(const T&); - std::function<TOnResult> OnResult; + std::function<TOnResult> OnResult; public: void SetResult(const T& result) { @@ -48,7 +48,7 @@ public: onResult(*Result); } else { Y_ASSERT(!OnResult); - OnResult = std::function<TOnResult>(onResult); + OnResult = std::function<TOnResult>(onResult); } } }; |