diff options
author | spacelord <spacelord@yandex-team.ru> | 2022-02-10 16:48:15 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:15 +0300 |
commit | 16747e4f77455cca4932df21eb76f12cb0a97a5c (patch) | |
tree | 4dd6da4102d99d0d69dec53c1050d290a850a9f2 /util/generic/refcount.h | |
parent | a817f5de12611ec73085eba17f8ec7740a46bdb7 (diff) | |
download | ydb-16747e4f77455cca4932df21eb76f12cb0a97a5c.tar.gz |
Restoring authorship annotation for <spacelord@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/refcount.h')
-rw-r--r-- | util/generic/refcount.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/generic/refcount.h b/util/generic/refcount.h index 966e853b77..5d3c7f92d3 100644 --- a/util/generic/refcount.h +++ b/util/generic/refcount.h @@ -81,13 +81,13 @@ private: size_t ThreadId; }; #else -using TCheckPolicy = TNoCheckPolicy; +using TCheckPolicy = TNoCheckPolicy; #endif // Use this one if access from multiple threads to your pointer is an error and you want to enforce thread checks -using TSimpleCounter = TSimpleCounterTemplate<TCheckPolicy>; +using TSimpleCounter = TSimpleCounterTemplate<TCheckPolicy>; // Use this one if you do want to share the pointer between threads, omit thread checks and do the synchronization yourself -using TExplicitSimpleCounter = TSimpleCounterTemplate<TNoCheckPolicy>; +using TExplicitSimpleCounter = TSimpleCounterTemplate<TNoCheckPolicy>; template <class TCounterCheckPolicy> struct TCommonLockOps<TSimpleCounterTemplate<TCounterCheckPolicy>> { |