diff options
author | ulgen4a <ulgen4a@yandex-team.ru> | 2022-02-10 16:48:08 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:08 +0300 |
commit | c4de7efdedc25b49cbea74bd589eecb61b55b60a (patch) | |
tree | b222e5ac2e2e98872661c51ccceee5da0d291e13 /util/generic/algorithm.h | |
parent | 9ef1bf9e69d369800773d810755391694086d4a4 (diff) | |
download | ydb-c4de7efdedc25b49cbea74bd589eecb61b55b60a.tar.gz |
Restoring authorship annotation for <ulgen4a@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/algorithm.h')
-rw-r--r-- | util/generic/algorithm.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/generic/algorithm.h b/util/generic/algorithm.h index b3d0dc98bc..badfb88993 100644 --- a/util/generic/algorithm.h +++ b/util/generic/algorithm.h @@ -629,10 +629,10 @@ static inline void Transform(T1 b, T1 e, T2 o, O f) { } template <class T1, class T2, class T3, class O> -static inline void Transform(T1 b1, T1 e1, T2 b2, T3 o, O f) { +static inline void Transform(T1 b1, T1 e1, T2 b2, T3 o, O f) { std::transform(b1, e1, b2, o, f); -} - +} + template <class T, class V> inline typename std::iterator_traits<T>::difference_type Count(T first, T last, const V& value) { return std::count(first, last, value); |