diff options
author | monnoroch <monnoroch@yandex-team.ru> | 2022-02-10 16:50:35 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:35 +0300 |
commit | ff230fa56fa52d83a67896163c937c432faabff1 (patch) | |
tree | 4fca95e9c3a81157609ba9c01c82e4205f2cdc19 /util/generic/ptr.h | |
parent | 6c28d571885436fe17efe87ca39884f80852bb8c (diff) | |
download | ydb-ff230fa56fa52d83a67896163c937c432faabff1.tar.gz |
Restoring authorship annotation for <monnoroch@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/ptr.h')
-rw-r--r-- | util/generic/ptr.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/generic/ptr.h b/util/generic/ptr.h index 19db0e3ec5..e3aa3dacff 100644 --- a/util/generic/ptr.h +++ b/util/generic/ptr.h @@ -101,7 +101,7 @@ private: template <class Base, class T> class TPointerCommon { public: - using TValueType = T; + using TValueType = T; inline T* operator->() const noexcept { T* ptr = AsT(); @@ -269,9 +269,9 @@ public: { } - THolder(const THolder&) = delete; - THolder& operator=(const THolder&) = delete; - + THolder(const THolder&) = delete; + THolder& operator=(const THolder&) = delete; + inline ~THolder() { DoDestroy(); } @@ -1057,7 +1057,7 @@ private: // Copy-on-write pointer template <class TPtr, class TCopy> class TCowPtr: public TPointerBase<TCowPtr<TPtr, TCopy>, const typename TPtr::TValueType> { - using T = typename TPtr::TValueType; + using T = typename TPtr::TValueType; public: inline TCowPtr() = default; |