aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/ptr.h
diff options
context:
space:
mode:
authornga <nga@yandex-team.ru>2022-02-10 16:48:09 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:09 +0300
commit1f553f46fb4f3c5eec631352cdd900a0709016af (patch)
treea231fba2c03b440becaea6c86a2702d0bfb0336e /util/generic/ptr.h
parentc4de7efdedc25b49cbea74bd589eecb61b55b60a (diff)
downloadydb-1f553f46fb4f3c5eec631352cdd900a0709016af.tar.gz
Restoring authorship annotation for <nga@yandex-team.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..3b02d9c19f 100644
--- a/util/generic/ptr.h
+++ b/util/generic/ptr.h
@@ -370,7 +370,7 @@ public:
Y_ASSERT(resultCount >= d);
(void)resultCount;
}
-
+
inline void Ref() noexcept {
auto resultCount = Counter_.Inc();
Y_ASSERT(resultCount != 0);
@@ -388,7 +388,7 @@ public:
inline void UnRef() noexcept {
UnRef(1);
}
-
+
inline TAtomicBase RefCount() const noexcept {
return Counter_.Val();
}
@@ -876,7 +876,7 @@ public:
inline void Drop() noexcept {
TSharedPtr().Swap(*this);
}
-
+
inline T* Get() const noexcept {
return T_;
}