diff options
| author | mvel <[email protected]> | 2022-02-10 16:45:41 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:45:41 +0300 |
| commit | bd30392c4cc92487950adc375c07adf52da1d592 (patch) | |
| tree | e8d1a3f19b7fc890bcef6e4cc5de41f1d88c9ac3 /util/generic/map.h | |
| parent | 5d50718e66d9c037dc587a0211110b7d25a66185 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/generic/map.h')
| -rw-r--r-- | util/generic/map.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/generic/map.h b/util/generic/map.h index b5001b56c03..140c7668ce4 100644 --- a/util/generic/map.h +++ b/util/generic/map.h @@ -37,7 +37,7 @@ public: inline explicit operator bool() const noexcept { return !this->empty(); } - + inline bool contains(const K& key) const { return this->find(key) != this->end(); } |
