summaryrefslogtreecommitdiffstats
path: root/util/generic/object_counter.h
diff options
context:
space:
mode:
authorVlad Yaroslavlev <[email protected]>2022-02-10 16:46:25 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:46:25 +0300
commit344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/generic/object_counter.h
parent706b83ed7de5a473436620367af31fc0ceecde07 (diff)
Restoring authorship annotation for Vlad Yaroslavlev <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/generic/object_counter.h')
-rw-r--r--util/generic/object_counter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/generic/object_counter.h b/util/generic/object_counter.h
index c69e94c226b..5257afa2e60 100644
--- a/util/generic/object_counter.h
+++ b/util/generic/object_counter.h
@@ -19,7 +19,7 @@
template <class T>
class TObjectCounter {
public:
- inline TObjectCounter() noexcept {
+ inline TObjectCounter() noexcept {
AtomicIncrement(Count_);
}
@@ -27,11 +27,11 @@ public:
AtomicIncrement(Count_);
}
- inline ~TObjectCounter() {
+ inline ~TObjectCounter() {
AtomicDecrement(Count_);
}
- static inline long ObjectCount() noexcept {
+ static inline long ObjectCount() noexcept {
return AtomicGet(Count_);
}