aboutsummaryrefslogtreecommitdiffstats
path: root/util/thread/lfqueue.h
diff options
context:
space:
mode:
authorluckygeck <luckygeck@yandex-team.ru>2022-02-10 16:49:18 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:18 +0300
commit48ea53d4c114c948fa16fee5ec66de2552c93471 (patch)
treed443cad34860b58886dc7725a27c7fe0c9b5fe13 /util/thread/lfqueue.h
parent30f4921b0fa8722e5531e72cb40a93b526f6973a (diff)
downloadydb-48ea53d4c114c948fa16fee5ec66de2552c93471.tar.gz
Restoring authorship annotation for <luckygeck@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/thread/lfqueue.h')
-rw-r--r--util/thread/lfqueue.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/util/thread/lfqueue.h b/util/thread/lfqueue.h
index ab523631e4..bda92551d7 100644
--- a/util/thread/lfqueue.h
+++ b/util/thread/lfqueue.h
@@ -393,14 +393,14 @@ public:
Y_UNUSED(t.Release());
}
- inline bool IsEmpty() {
- return Queue.IsEmpty();
- }
-
- inline TCounter GetCounter() {
- return Queue.GetCounter();
- }
-
+ inline bool IsEmpty() {
+ return Queue.IsEmpty();
+ }
+
+ inline TCounter GetCounter() {
+ return Queue.GetCounter();
+ }
+
private:
TLockFreeQueue<T*, TCounter> Queue;
};