summaryrefslogtreecommitdiffstats
path: root/util/generic/set.h
diff options
context:
space:
mode:
authoreeight <[email protected]>2022-02-10 16:46:18 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:46:18 +0300
commit475c0a46f28166e83fd263badc7546377cddcabe (patch)
tree39c5a49b8aaad78fe390b6f1f2886bdbda40f3e7 /util/generic/set.h
parenta6e0145a095c7bb3770d6e07aee301de5c73f96e (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/generic/set.h')
-rw-r--r--util/generic/set.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/util/generic/set.h b/util/generic/set.h
index 4c437ca26f9..3573ee9f8e7 100644
--- a/util/generic/set.h
+++ b/util/generic/set.h
@@ -20,9 +20,9 @@ public:
}
template <class TheKey>
- inline bool contains(const TheKey& key) const {
- return this->find(key) != this->end();
- }
+ inline bool contains(const TheKey& key) const {
+ return this->find(key) != this->end();
+ }
};
template <class K, class L, class A>
@@ -34,9 +34,9 @@ public:
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();
- }
+
+ template <class TheKey>
+ inline bool contains(const TheKey& key) const {
+ return this->find(key) != this->end();
+ }
};