diff options
author | Alexander Rutkovsky <alexvru@mail.ru> | 2022-02-10 16:47:40 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:40 +0300 |
commit | 667a4ee7da2e004784b9c3cfab824a81e96f4d66 (patch) | |
tree | c0748b5dcbade83af788c0abfa89c0383d6b779c /util/generic/ptr.h | |
parent | f3646f91e0de459836a7800b9ce3e8dc57a2ab3a (diff) | |
download | ydb-667a4ee7da2e004784b9c3cfab824a81e96f4d66.tar.gz |
Restoring authorship annotation for Alexander Rutkovsky <alexvru@mail.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/ptr.h')
-rw-r--r-- | util/generic/ptr.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/generic/ptr.h b/util/generic/ptr.h index c5b6c594f5..19db0e3ec5 100644 --- a/util/generic/ptr.h +++ b/util/generic/ptr.h @@ -104,9 +104,9 @@ public: using TValueType = T; inline T* operator->() const noexcept { - T* ptr = AsT(); - Y_ASSERT(ptr); - return ptr; + T* ptr = AsT(); + Y_ASSERT(ptr); + return ptr; } #ifndef __cpp_impl_three_way_comparison |