aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/ptr.h
diff options
context:
space:
mode:
authorAlexander Rutkovsky <alexvru@mail.ru>2022-02-10 16:47:39 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:39 +0300
commitf3646f91e0de459836a7800b9ce3e8dc57a2ab3a (patch)
tree25c1423200152570c1f8307e5b8304b9bc3840c5 /util/generic/ptr.h
parentfccc62e9bfdce9be2fe7e0f23479da3a5512211a (diff)
downloadydb-f3646f91e0de459836a7800b9ce3e8dc57a2ab3a.tar.gz
Restoring authorship annotation for Alexander Rutkovsky <alexvru@mail.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/ptr.h')
-rw-r--r--util/generic/ptr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/generic/ptr.h b/util/generic/ptr.h
index 19db0e3ec5..c5b6c594f5 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