aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/messagebus/async_result.h
diff options
context:
space:
mode:
authora-romanov <a-romanov@yandex-team.ru>2022-02-10 16:48:10 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:10 +0300
commitaa2986a34bde73b2cdcea5080c4443b7cf2ba686 (patch)
tree410fbde59311309b774a0da147f79628c3429a2c /library/cpp/messagebus/async_result.h
parente77cfd118321c5b9c168fdee41b4e6c5706b8f68 (diff)
downloadydb-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.h8
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);
}
}
};