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 | 25972584abddd173801b48d92f8719e83af797b1 (patch) | |
tree | 514041b54afc1ce5d33b6f1c4de17f7fa4765aa7 /util/generic | |
parent | c74cff1222c5ff97080e38da5019b2520991a526 (diff) | |
download | ydb-25972584abddd173801b48d92f8719e83af797b1.tar.gz |
Restoring authorship annotation for <dzats@yandex-team.ru>. Commit 1 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 966e853b77..6dc8d5fc6c 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(); + } +}; |