diff options
author | dzats <dzats@yandex-team.ru> | 2022-02-10 16:49:37 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:37 +0300 |
commit | 44f31b316af517a4fbc6a82ebed8a1c51807deac (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/generic | |
parent | 25972584abddd173801b48d92f8719e83af797b1 (diff) | |
download | ydb-44f31b316af517a4fbc6a82ebed8a1c51807deac.tar.gz |
Restoring authorship annotation for <dzats@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic')
-rw-r--r-- | util/generic/refcount.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/util/generic/refcount.h b/util/generic/refcount.h index 6dc8d5fc6c..966e853b77 100644 --- a/util/generic/refcount.h +++ b/util/generic/refcount.h @@ -151,12 +151,12 @@ private: }; template <> -struct TCommonLockOps<TAtomicCounter> { +struct TCommonLockOps<TAtomicCounter> { static inline void Acquire(TAtomicCounter* t) noexcept { - t->Inc(); - } + t->Inc(); + } static inline void Release(TAtomicCounter* t) noexcept { - t->Dec(); - } -}; + t->Dec(); + } +}; |