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 | f7619e21ba894db354477390e8fe96256a6eb14a (patch) | |
tree | b69d940766676eea8fd8d90570ed4f2783014d58 /util/generic/ptr.h | |
parent | a6f6b22bda21d53d07bd2e0ff63a2b2abf69ede9 (diff) | |
download | ydb-f7619e21ba894db354477390e8fe96256a6eb14a.tar.gz |
Restoring authorship annotation for <kostik@yandex-team.ru>. Commit 1 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 19db0e3ec5..36b5438e58 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(); } |