aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/ptr.h
diff options
context:
space:
mode:
authorIlnur Khuziev <ilnur.khuziev@yandex.ru>2022-02-10 16:46:14 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:14 +0300
commit60040c91ffe701a84689b2c6310ff845e65cff42 (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/generic/ptr.h
parent736dcd8ca259457a136f2f9f9168c44643914323 (diff)
downloadydb-60040c91ffe701a84689b2c6310ff845e65cff42.tar.gz
Restoring authorship annotation for Ilnur Khuziev <ilnur.khuziev@yandex.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/ptr.h')
-rw-r--r--util/generic/ptr.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/generic/ptr.h b/util/generic/ptr.h
index 8a4fcc3da9..19db0e3ec5 100644
--- a/util/generic/ptr.h
+++ b/util/generic/ptr.h
@@ -185,7 +185,7 @@ public:
return *this;
}
- inline T* Release() const noexcept Y_WARN_UNUSED_RESULT {
+ inline T* Release() const noexcept Y_WARN_UNUSED_RESULT {
return this->DoRelease(T_);
}
@@ -280,7 +280,7 @@ public:
Reset(nullptr);
}
- inline T* Release() noexcept Y_WARN_UNUSED_RESULT {
+ inline T* Release() noexcept Y_WARN_UNUSED_RESULT {
return this->DoRelease(T_);
}
@@ -566,7 +566,7 @@ public:
TIntrusivePtr(nullptr).Swap(*this);
}
- inline T* Release() const noexcept Y_WARN_UNUSED_RESULT {
+ inline T* Release() const noexcept Y_WARN_UNUSED_RESULT {
T* res = T_;
if (T_) {
Ops::DecRef(T_);
@@ -1011,7 +1011,7 @@ public:
return *this;
}
- inline T* Release() noexcept Y_WARN_UNUSED_RESULT {
+ inline T* Release() noexcept Y_WARN_UNUSED_RESULT {
return DoRelease(T_);
}