aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/algorithm.h
diff options
context:
space:
mode:
authormarakasov <marakasov@yandex-team.ru>2022-02-10 16:49:50 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:50 +0300
commitf4edb31a1d309efb6c243b2615a587cbbdec081d (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/generic/algorithm.h
parent359de4829c1d82b06fad5e0ad82470e4e9f27c89 (diff)
downloadydb-f4edb31a1d309efb6c243b2615a587cbbdec081d.tar.gz
Restoring authorship annotation for <marakasov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/algorithm.h')
-rw-r--r--util/generic/algorithm.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/util/generic/algorithm.h b/util/generic/algorithm.h
index ce414e7e33..badfb88993 100644
--- a/util/generic/algorithm.h
+++ b/util/generic/algorithm.h
@@ -358,15 +358,15 @@ void EraseNodesIf(C& c, P p) {
}
}
-template <class T1, class T2>
-static inline bool Equal(T1 f1, T1 l1, T2 f2) {
+template <class T1, class T2>
+static inline bool Equal(T1 f1, T1 l1, T2 f2) {
return std::equal(f1, l1, f2);
-}
-
-template <class T1, class T2, class P>
-static inline bool Equal(T1 f1, T1 l1, T2 f2, P p) {
+}
+
+template <class T1, class T2, class P>
+static inline bool Equal(T1 f1, T1 l1, T2 f2, P p) {
return std::equal(f1, l1, f2, p);
-}
+}
template <class TI, class TO>
static inline TO Copy(TI f, TI l, TO t) {
@@ -432,11 +432,11 @@ template <class TI1, class TI2, class TO, class TC>
static inline TO SetIntersection(TI1 f1, TI1 l1, TI2 f2, TI2 l2, TO p, TC c) {
return std::set_intersection(f1, l1, f2, l2, p, c);
}
-
-template <class I, class T>
-static inline void Fill(I f, I l, const T& v) {
+
+template <class I, class T>
+static inline void Fill(I f, I l, const T& v) {
std::fill(f, l, v);
-}
+}
template <typename I, typename S, typename T>
static inline I FillN(I f, S n, const T& v) {