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
commitc2a1af049e9deca890e9923abe64fe6c59060348 (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /util/generic/ptr.h
parent1f553f46fb4f3c5eec631352cdd900a0709016af (diff)
downloadydb-c2a1af049e9deca890e9923abe64fe6c59060348.tar.gz
Restoring authorship annotation for <nga@yandex-team.ru>. Commit 2 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 3b02d9c19f..19db0e3ec5 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_;
}