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 | a0c6d9ad0cf6b94c527a15da147eb24335281b6d (patch) | |
tree | b222e5ac2e2e98872661c51ccceee5da0d291e13 /util/generic/refcount.h | |
parent | 16747e4f77455cca4932df21eb76f12cb0a97a5c (diff) | |
download | ydb-a0c6d9ad0cf6b94c527a15da147eb24335281b6d.tar.gz |
Restoring authorship annotation for <spacelord@yandex-team.ru>. Commit 2 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 5d3c7f92d3..966e853b77 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>> { |