summaryrefslogtreecommitdiffstats
path: root/util/generic/set.h
diff options
context:
space:
mode:
authormowgli <[email protected]>2022-02-10 16:49:25 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:49:25 +0300
commit89afbbe4ca0e02e386dd4df08f7945f190dc1b84 (patch)
treec4772201af6215d48734691b8796e4cfc77c2ac8 /util/generic/set.h
parent7510cec1516d17cbc8d7749974e36aa45f547a26 (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/generic/set.h')
-rw-r--r--util/generic/set.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/util/generic/set.h b/util/generic/set.h
index 4c437ca26f9..c8acd6fbb84 100644
--- a/util/generic/set.h
+++ b/util/generic/set.h
@@ -15,10 +15,10 @@ public:
using TBase = std::set<K, L, TReboundAllocator<A, K>>;
using TBase::TBase;
- inline explicit operator bool() const noexcept {
- return !this->empty();
- }
-
+ inline explicit operator bool() const noexcept {
+ return !this->empty();
+ }
+
template <class TheKey>
inline bool contains(const TheKey& key) const {
return this->find(key) != this->end();
@@ -31,9 +31,9 @@ public:
using TBase = std::multiset<K, L, TReboundAllocator<A, K>>;
using TBase::TBase;
- inline explicit operator bool() const noexcept {
- return !this->empty();
- }
+ inline explicit operator bool() const noexcept {
+ return !this->empty();
+ }
template <class TheKey>
inline bool contains(const TheKey& key) const {