diff options
author | ignat <ignat@yandex-team.ru> | 2022-02-10 16:48:20 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:20 +0300 |
commit | 12d7840a194f4a6e4ea77a405f980074cf43e942 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/yt/memory/intrusive_ptr.h | |
parent | c8b279dd21ddcb47e755028d81281f113a0f4a11 (diff) | |
download | ydb-12d7840a194f4a6e4ea77a405f980074cf43e942.tar.gz |
Restoring authorship annotation for <ignat@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/yt/memory/intrusive_ptr.h')
-rw-r--r-- | library/cpp/yt/memory/intrusive_ptr.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/yt/memory/intrusive_ptr.h b/library/cpp/yt/memory/intrusive_ptr.h index 76b8f55fb4..3dead7db1d 100644 --- a/library/cpp/yt/memory/intrusive_ptr.h +++ b/library/cpp/yt/memory/intrusive_ptr.h @@ -3,11 +3,11 @@ #include "ref_counted.h" #include <util/generic/hash.h> -#include <util/generic/utility.h> - -#include <utility> +#include <util/generic/utility.h> + +#include <utility> #include <type_traits> - + namespace NYT { //////////////////////////////////////////////////////////////////////////////// @@ -110,7 +110,7 @@ public: } //! Move assignment operator. - TIntrusivePtr& operator=(TIntrusivePtr&& other) noexcept + TIntrusivePtr& operator=(TIntrusivePtr&& other) noexcept { TIntrusivePtr(std::move(other)).Swap(*this); return *this; |