diff options
author | udovichenko-r <udovichenko-r@yandex-team.ru> | 2022-02-10 16:49:21 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:21 +0300 |
commit | d7e4eaec9d325e188dabb3eb1949a32a5229e9ce (patch) | |
tree | 75f143caa4e1e35b760846b22310ede3212d7f63 /util/generic/algorithm.h | |
parent | 027f7b7f6644e258a5840869b9b82c79e1ebeee0 (diff) | |
download | ydb-d7e4eaec9d325e188dabb3eb1949a32a5229e9ce.tar.gz |
Restoring authorship annotation for <udovichenko-r@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/algorithm.h')
-rw-r--r-- | util/generic/algorithm.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/generic/algorithm.h b/util/generic/algorithm.h index badfb88993..6544d56fa2 100644 --- a/util/generic/algorithm.h +++ b/util/generic/algorithm.h @@ -388,11 +388,11 @@ static inline TO RemoveCopyIf(TI f, TI l, TO t, TP p) { return std::remove_copy_if(f, l, t, p); } -template <class TI, class TO> -static inline TO ReverseCopy(TI f, TI l, TO t) { +template <class TI, class TO> +static inline TO ReverseCopy(TI f, TI l, TO t) { return std::reverse_copy(f, l, t); -} - +} + template <class TI1, class TI2, class TO> static inline TO SetUnion(TI1 f1, TI1 l1, TI2 f2, TI2 l2, TO p) { return std::set_union(f1, l1, f2, l2, p); |