diff options
author | Andrey Khalyavin <halyavin@gmail.com> | 2022-02-10 16:46:30 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:30 +0300 |
commit | 4b839d0704ee9be1dabb0310a1f03af24963637b (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/generic/ptr.h | |
parent | f773626848a7c7456803654292e716b83d69cc12 (diff) | |
download | ydb-4b839d0704ee9be1dabb0310a1f03af24963637b.tar.gz |
Restoring authorship annotation for Andrey Khalyavin <halyavin@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'util/generic/ptr.h')
-rw-r--r-- | util/generic/ptr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/generic/ptr.h b/util/generic/ptr.h index 22f22787ba..19db0e3ec5 100644 --- a/util/generic/ptr.h +++ b/util/generic/ptr.h @@ -1080,7 +1080,7 @@ public: return T_.Get(); } - inline T* Mutable() { + inline T* Mutable() { Unshare(); return T_.Get(); @@ -1109,7 +1109,7 @@ public: } #endif private: - inline void Unshare() { + inline void Unshare() { if (Shared()) { Reset(TCopy::Copy(T_.Get())); } |