diff options
author | pozhilov <pozhilov@yandex-team.ru> | 2022-02-10 16:49:27 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:27 +0300 |
commit | 23bf1d16dddf213a6aa8e8d5c8621e1242a1f118 (patch) | |
tree | ed030ff443eb83431f11e53b6460b1b73d035412 /util/generic/is_in.h | |
parent | 7156b3713e77ce36387436e5558320917698b7a2 (diff) | |
download | ydb-23bf1d16dddf213a6aa8e8d5c8621e1242a1f118.tar.gz |
Restoring authorship annotation for <pozhilov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/is_in.h')
-rw-r--r-- | util/generic/is_in.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/generic/is_in.h b/util/generic/is_in.h index 4f175ea5eb..a3277f173d 100644 --- a/util/generic/is_in.h +++ b/util/generic/is_in.h @@ -47,7 +47,7 @@ static inline bool IsIn(const C& c, const T& e) { return TIsInTraits<C, T, TIsAssocCont<C>::value>::IsIn(c, e); } -template <class T, class U> -static inline bool IsIn(std::initializer_list<T> l, const U& e) { +template <class T, class U> +static inline bool IsIn(std::initializer_list<T> l, const U& e) { return ::IsIn(l.begin(), l.end(), e); } |