aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/queue.h
diff options
context:
space:
mode:
authormowgli <mowgli@yandex-team.ru>2022-02-10 16:49:25 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:25 +0300
commit89afbbe4ca0e02e386dd4df08f7945f190dc1b84 (patch)
treec4772201af6215d48734691b8796e4cfc77c2ac8 /util/generic/queue.h
parent7510cec1516d17cbc8d7749974e36aa45f547a26 (diff)
downloadydb-89afbbe4ca0e02e386dd4df08f7945f190dc1b84.tar.gz
Restoring authorship annotation for <mowgli@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/queue.h')
-rw-r--r--util/generic/queue.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/util/generic/queue.h b/util/generic/queue.h
index f5959f68f2..570d8d915d 100644
--- a/util/generic/queue.h
+++ b/util/generic/queue.h
@@ -16,10 +16,10 @@ class TQueue: public std::queue<T, S> {
public:
using TBase::TBase;
- inline explicit operator bool() const noexcept {
- return !this->empty();
- }
-
+ inline explicit operator bool() const noexcept {
+ return !this->empty();
+ }
+
inline void clear() {
this->c.clear();
}
@@ -40,10 +40,10 @@ class TPriorityQueue: public std::priority_queue<T, S, C> {
public:
using TBase::TBase;
- inline explicit operator bool() const noexcept {
- return !this->empty();
- }
-
+ inline explicit operator bool() const noexcept {
+ return !this->empty();
+ }
+
inline void clear() {
this->c.clear();
}