From 8879605a63ac17539be5b3bd41b529791f4d4b02 Mon Sep 17 00:00:00 2001 From: amatanhead Date: Thu, 10 Feb 2022 16:50:04 +0300 Subject: Restoring authorship annotation for . Commit 1 of 2. --- library/cpp/threading/future/core/future-inl.h | 8 +++--- library/cpp/threading/future/core/future.h | 36 +++++++++++++------------- 2 files changed, 22 insertions(+), 22 deletions(-) (limited to 'library/cpp/threading/future') diff --git a/library/cpp/threading/future/core/future-inl.h b/library/cpp/threading/future/core/future-inl.h index 5fd4296a93c..d68d80e536b 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 - inline TFuture::TFuture(const TIntrusivePtr& state) noexcept + inline TFuture::TFuture(const TIntrusivePtr& state) noexcept : State(state) { } @@ -655,7 +655,7 @@ namespace NThreading { //////////////////////////////////////////////////////////////////////////////// - inline TFuture::TFuture(const TIntrusivePtr& state) noexcept + inline TFuture::TFuture(const TIntrusivePtr& state) noexcept : State(state) { } @@ -758,7 +758,7 @@ namespace NThreading { //////////////////////////////////////////////////////////////////////////////// template - inline TPromise::TPromise(const TIntrusivePtr& state) noexcept + inline TPromise::TPromise(const TIntrusivePtr& state) noexcept : State(state) { } @@ -864,7 +864,7 @@ namespace NThreading { //////////////////////////////////////////////////////////////////////////////// - inline TPromise::TPromise(const TIntrusivePtr& state) noexcept + inline TPromise::TPromise(const TIntrusivePtr& state) noexcept : State(state) { } diff --git a/library/cpp/threading/future/core/future.h b/library/cpp/threading/future/core/future.h index 2e82bb953eb..48dc2096732 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& other) noexcept = default; + TFuture() noexcept = default; + TFuture(const TFuture& other) noexcept = default; TFuture(TFuture&& other) noexcept = default; - TFuture(const TIntrusivePtr& state) noexcept; + TFuture(const TIntrusivePtr& state) noexcept; - TFuture& operator=(const TFuture& other) noexcept = default; + TFuture& operator=(const TFuture& other) noexcept = default; TFuture& operator=(TFuture&& other) noexcept = default; void Swap(TFuture& other); @@ -128,17 +128,17 @@ namespace NThreading { using TFutureState = NImpl::TFutureState; private: - TIntrusivePtr State = nullptr; + TIntrusivePtr State = nullptr; public: using value_type = void; - TFuture() noexcept = default; - TFuture(const TFuture& other) noexcept = default; + TFuture() noexcept = default; + TFuture(const TFuture& other) noexcept = default; TFuture(TFuture&& other) noexcept = default; - TFuture(const TIntrusivePtr& state) noexcept; + TFuture(const TIntrusivePtr& state) noexcept; - TFuture& operator=(const TFuture& other) noexcept = default; + TFuture& operator=(const TFuture& other) noexcept = default; TFuture& operator=(TFuture&& other) noexcept = default; void Swap(TFuture& other); @@ -188,15 +188,15 @@ namespace NThreading { using TFutureState = NImpl::TFutureState; private: - TIntrusivePtr State = nullptr; + TIntrusivePtr State = nullptr; public: - TPromise() noexcept = default; - TPromise(const TPromise& other) noexcept = default; + TPromise() noexcept = default; + TPromise(const TPromise& other) noexcept = default; TPromise(TPromise&& other) noexcept = default; - TPromise(const TIntrusivePtr& state) noexcept; + TPromise(const TIntrusivePtr& state) noexcept; - TPromise& operator=(const TPromise& other) noexcept = default; + TPromise& operator=(const TPromise& other) noexcept = default; TPromise& operator=(TPromise&& other) noexcept = default; void Swap(TPromise& other); @@ -235,12 +235,12 @@ namespace NThreading { TIntrusivePtr State; public: - TPromise() noexcept = default; - TPromise(const TPromise& other) noexcept = default; + TPromise() noexcept = default; + TPromise(const TPromise& other) noexcept = default; TPromise(TPromise&& other) noexcept = default; - TPromise(const TIntrusivePtr& state) noexcept; + TPromise(const TIntrusivePtr& state) noexcept; - TPromise& operator=(const TPromise& other) noexcept = default; + TPromise& operator=(const TPromise& other) noexcept = default; TPromise& operator=(TPromise&& other) noexcept = default; void Swap(TPromise& other); -- cgit v1.3