aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/singleton.h
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:25 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:25 +0300
commit344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/generic/singleton.h
parent706b83ed7de5a473436620367af31fc0ceecde07 (diff)
downloadydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 of 2.
Diffstat (limited to 'util/generic/singleton.h')
-rw-r--r--util/generic/singleton.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/generic/singleton.h b/util/generic/singleton.h
index 5b118b4221..f5fa047f5c 100644
--- a/util/generic/singleton.h
+++ b/util/generic/singleton.h
@@ -14,8 +14,8 @@ struct TSingletonTraits {
namespace NPrivate {
void FillWithTrash(void* ptr, size_t len);
- void LockRecursive(TAtomic& lock) noexcept;
- void UnlockRecursive(TAtomic& lock) noexcept;
+ void LockRecursive(TAtomic& lock) noexcept;
+ void UnlockRecursive(TAtomic& lock) noexcept;
template <class T>
void Destroyer(void* ptr) {
@@ -80,7 +80,7 @@ namespace NPrivate {
{
}
- inline const T* Get() const noexcept {
+ inline const T* Get() const noexcept {
return &T_;
}
@@ -96,7 +96,7 @@ namespace NPrivate {
{
}
- inline ~THeapStore() {
+ inline ~THeapStore() {
delete D;
}