aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/threading/future/core/future.h
diff options
context:
space:
mode:
authorpechatnov <pechatnov@yandex-team.ru>2022-02-10 16:48:57 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:57 +0300
commit132a3640fac343164b858d0a914e020a848a2848 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/threading/future/core/future.h
parent8e9b2f8bbf4a2320f539eef5b85555f42c065425 (diff)
downloadydb-132a3640fac343164b858d0a914e020a848a2848.tar.gz
Restoring authorship annotation for <pechatnov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/threading/future/core/future.h')
-rw-r--r--library/cpp/threading/future/core/future.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/threading/future/core/future.h b/library/cpp/threading/future/core/future.h
index b42a83a4ca..2e82bb953e 100644
--- a/library/cpp/threading/future/core/future.h
+++ b/library/cpp/threading/future/core/future.h
@@ -209,9 +209,9 @@ namespace NThreading {
void SetValue(const T& value);
void SetValue(T&& value);
- bool TrySetValue(const T& value);
- bool TrySetValue(T&& value);
-
+ bool TrySetValue(const T& value);
+ bool TrySetValue(T&& value);
+
void TryRethrow() const;
bool HasException() const;
void SetException(const TString& e);
@@ -250,7 +250,7 @@ namespace NThreading {
void GetValue() const;
void SetValue();
- bool TrySetValue();
+ bool TrySetValue();
void TryRethrow() const;
bool HasException() const;