aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/ptr.h
diff options
context:
space:
mode:
authorIlnur Khuziev <ilnur.khuziev@yandex.ru>2022-02-10 16:46:13 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:13 +0300
commit736dcd8ca259457a136f2f9f9168c44643914323 (patch)
treeddd46a036d68bfa83aa11b892f31243ea6b068a1 /util/generic/ptr.h
parent9bf2fa2b060c9881d3135c2208c624a1dd546ecc (diff)
downloadydb-736dcd8ca259457a136f2f9f9168c44643914323.tar.gz
Restoring authorship annotation for Ilnur Khuziev <ilnur.khuziev@yandex.ru>. Commit 1 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 19db0e3ec5..8a4fcc3da9 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_);
}