aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/threading/future/core
diff options
context:
space:
mode:
authoramatanhead <amatanhead@yandex-team.ru>2022-02-10 16:50:04 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:04 +0300
commitb6f3a80f7c2c8b7dbb0c01b056fdc1fd8cd820e9 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/threading/future/core
parent8879605a63ac17539be5b3bd41b529791f4d4b02 (diff)
downloadydb-b6f3a80f7c2c8b7dbb0c01b056fdc1fd8cd820e9.tar.gz
Restoring authorship annotation for <amatanhead@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/threading/future/core')
-rw-r--r--library/cpp/threading/future/core/future-inl.h8
-rw-r--r--library/cpp/threading/future/core/future.h36
2 files changed, 22 insertions, 22 deletions
diff --git a/library/cpp/threading/future/core/future-inl.h b/library/cpp/threading/future/core/future-inl.h
index d68d80e536..5fd4296a93 100644
--- a/library/cpp/threading/future/core/future-inl.h
+++ b/library/cpp/threading/future/core/future-inl.h
@@ -533,7 +533,7 @@ namespace NThreading {
////////////////////////////////////////////////////////////////////////////////
template <typename T>
- inline TFuture<T>::TFuture(const TIntrusivePtr<TFutureState>& state) noexcept
+ inline TFuture<T>::TFuture(const TIntrusivePtr<TFutureState>& state) noexcept
: State(state)
{
}
@@ -655,7 +655,7 @@ namespace NThreading {
////////////////////////////////////////////////////////////////////////////////
- inline TFuture<void>::TFuture(const TIntrusivePtr<TFutureState>& state) noexcept
+ inline TFuture<void>::TFuture(const TIntrusivePtr<TFutureState>& state) noexcept
: State(state)
{
}
@@ -758,7 +758,7 @@ namespace NThreading {
////////////////////////////////////////////////////////////////////////////////
template <typename T>
- inline TPromise<T>::TPromise(const TIntrusivePtr<TFutureState>& state) noexcept
+ inline TPromise<T>::TPromise(const TIntrusivePtr<TFutureState>& state) noexcept
: State(state)
{
}
@@ -864,7 +864,7 @@ namespace NThreading {
////////////////////////////////////////////////////////////////////////////////
- inline TPromise<void>::TPromise(const TIntrusivePtr<TFutureState>& state) noexcept
+ inline TPromise<void>::TPromise(const TIntrusivePtr<TFutureState>& state) noexcept
: State(state)
{
}
diff --git a/library/cpp/threading/future/core/future.h b/library/cpp/threading/future/core/future.h
index 48dc209673..2e82bb953e 100644
--- a/library/cpp/threading/future/core/future.h
+++ b/library/cpp/threading/future/core/future.h
@@ -76,12 +76,12 @@ namespace NThreading {
public:
using value_type = T;
- TFuture() noexcept = default;
- TFuture(const TFuture<T>& other) noexcept = default;
+ TFuture() noexcept = default;
+ TFuture(const TFuture<T>& other) noexcept = default;
TFuture(TFuture<T>&& other) noexcept = default;
- TFuture(const TIntrusivePtr<TFutureState>& state) noexcept;
+ TFuture(const TIntrusivePtr<TFutureState>& state) noexcept;
- TFuture<T>& operator=(const TFuture<T>& other) noexcept = default;
+ TFuture<T>& operator=(const TFuture<T>& other) noexcept = default;
TFuture<T>& operator=(TFuture<T>&& other) noexcept = default;
void Swap(TFuture<T>& other);
@@ -128,17 +128,17 @@ namespace NThreading {
using TFutureState = NImpl::TFutureState<void>;
private:
- TIntrusivePtr<TFutureState> State = nullptr;
+ TIntrusivePtr<TFutureState> State = nullptr;
public:
using value_type = void;
- TFuture() noexcept = default;
- TFuture(const TFuture<void>& other) noexcept = default;
+ TFuture() noexcept = default;
+ TFuture(const TFuture<void>& other) noexcept = default;
TFuture(TFuture<void>&& other) noexcept = default;
- TFuture(const TIntrusivePtr<TFutureState>& state) noexcept;
+ TFuture(const TIntrusivePtr<TFutureState>& state) noexcept;
- TFuture<void>& operator=(const TFuture<void>& other) noexcept = default;
+ TFuture<void>& operator=(const TFuture<void>& other) noexcept = default;
TFuture<void>& operator=(TFuture<void>&& other) noexcept = default;
void Swap(TFuture<void>& other);
@@ -188,15 +188,15 @@ namespace NThreading {
using TFutureState = NImpl::TFutureState<T>;
private:
- TIntrusivePtr<TFutureState> State = nullptr;
+ TIntrusivePtr<TFutureState> State = nullptr;
public:
- TPromise() noexcept = default;
- TPromise(const TPromise<T>& other) noexcept = default;
+ TPromise() noexcept = default;
+ TPromise(const TPromise<T>& other) noexcept = default;
TPromise(TPromise<T>&& other) noexcept = default;
- TPromise(const TIntrusivePtr<TFutureState>& state) noexcept;
+ TPromise(const TIntrusivePtr<TFutureState>& state) noexcept;
- TPromise<T>& operator=(const TPromise<T>& other) noexcept = default;
+ TPromise<T>& operator=(const TPromise<T>& other) noexcept = default;
TPromise<T>& operator=(TPromise<T>&& other) noexcept = default;
void Swap(TPromise<T>& other);
@@ -235,12 +235,12 @@ namespace NThreading {
TIntrusivePtr<TFutureState> State;
public:
- TPromise() noexcept = default;
- TPromise(const TPromise<void>& other) noexcept = default;
+ TPromise() noexcept = default;
+ TPromise(const TPromise<void>& other) noexcept = default;
TPromise(TPromise<void>&& other) noexcept = default;
- TPromise(const TIntrusivePtr<TFutureState>& state) noexcept;
+ TPromise(const TIntrusivePtr<TFutureState>& state) noexcept;
- TPromise<void>& operator=(const TPromise<void>& other) noexcept = default;
+ TPromise<void>& operator=(const TPromise<void>& other) noexcept = default;
TPromise<void>& operator=(TPromise<void>&& other) noexcept = default;
void Swap(TPromise<void>& other);