aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic
diff options
context:
space:
mode:
authorslesarev <slesarev@yandex-team.ru>2022-02-10 16:46:58 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:58 +0300
commit5598c5e7bc7619bd51d87fea7b880b7788ad0b47 (patch)
treeb83306b6e37edeea782e9eed673d89286c4fef35 /util/generic
parent7aa53a76943e449d3889a4e711338deb819fcd1f (diff)
downloadydb-5598c5e7bc7619bd51d87fea7b880b7788ad0b47.tar.gz
Restoring authorship annotation for <slesarev@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic')
-rw-r--r--util/generic/algorithm.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/util/generic/algorithm.h b/util/generic/algorithm.h
index ee2c40d605..badfb88993 100644
--- a/util/generic/algorithm.h
+++ b/util/generic/algorithm.h
@@ -258,16 +258,16 @@ static inline void MakeHeap(I f, I l, C c) {
std::make_heap(f, l, c);
}
-template <class I>
-static inline void SortHeap(I f, I l) {
+template <class I>
+static inline void SortHeap(I f, I l) {
std::sort_heap(f, l);
-}
-
-template <class I, class C>
-static inline void SortHeap(I f, I l, C c) {
+}
+
+template <class I, class C>
+static inline void SortHeap(I f, I l, C c) {
std::sort_heap(f, l, c);
-}
-
+}
+
template <class I, class T>
static inline I LowerBound(I f, I l, const T& v) {
return std::lower_bound(f, l, v);