diff options
author | kostik <kostik@yandex-team.ru> | 2022-02-10 16:49:22 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:22 +0300 |
commit | 89516f2fd8e143755ba2973385407d77676b18a0 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/generic/ptr.h | |
parent | f7619e21ba894db354477390e8fe96256a6eb14a (diff) | |
download | ydb-89516f2fd8e143755ba2973385407d77676b18a0.tar.gz |
Restoring authorship annotation for <kostik@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/ptr.h')
-rw-r--r-- | util/generic/ptr.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/generic/ptr.h b/util/generic/ptr.h index 36b5438e58..19db0e3ec5 100644 --- a/util/generic/ptr.h +++ b/util/generic/ptr.h @@ -548,8 +548,8 @@ public: // Reset(TIntrusivePtr&&) inline void Reset(TIntrusivePtr t) noexcept { Swap(t); - } - + } + inline void Reset() noexcept { Drop(); } @@ -668,8 +668,8 @@ public: // Reset(TIntrusiveConstPtr&&) inline void Reset(TIntrusiveConstPtr t) noexcept { Swap(t); - } - + } + inline void Reset() noexcept { Drop(); } |