diff options
author | Andrey Khalyavin <halyavin@gmail.com> | 2022-02-10 16:46:29 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:29 +0300 |
commit | f773626848a7c7456803654292e716b83d69cc12 (patch) | |
tree | db052dfcf9134f492bdbb962cb6c16cea58e1ed3 /util/generic/ptr.h | |
parent | f43ab775d197d300eb67bd4497632b909cd7c2a5 (diff) | |
download | ydb-f773626848a7c7456803654292e716b83d69cc12.tar.gz |
Restoring authorship annotation for Andrey Khalyavin <halyavin@gmail.com>. Commit 1 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 19db0e3ec5..22f22787ba 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())); } |