aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/algorithm.h
diff options
context:
space:
mode:
authordenplusplus <denplusplus@yandex-team.ru>2022-02-10 16:47:34 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:34 +0300
commit57c20d143e8a438cd76b9fdc3ca2e8ee3ac1f32a (patch)
treecc63639f8e502db19a82c20e2861c6d1edbf9fea /util/generic/algorithm.h
parent464ba3814a83db4f2d5327393b0b6eaf0c86bfd7 (diff)
downloadydb-57c20d143e8a438cd76b9fdc3ca2e8ee3ac1f32a.tar.gz
Restoring authorship annotation for <denplusplus@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/algorithm.h')
-rw-r--r--util/generic/algorithm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/generic/algorithm.h b/util/generic/algorithm.h
index badfb88993..caf5edc64b 100644
--- a/util/generic/algorithm.h
+++ b/util/generic/algorithm.h
@@ -452,7 +452,7 @@ template <class T>
static inline void Rotate(T f, T m, T l) {
std::rotate(f, m, l);
}
-
+
template <typename It, typename Val>
Val Accumulate(It begin, It end, Val val) {
// std::move since C++20
@@ -463,7 +463,7 @@ template <typename It, typename Val, typename BinOp>
Val Accumulate(It begin, It end, Val val, BinOp binOp) {
// std::move since C++20
return std::accumulate(begin, end, std::move(val), binOp);
-}
+}
template <typename C, typename Val>
Val Accumulate(const C& c, Val val) {