aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/algorithm.h
diff options
context:
space:
mode:
authordivankov <divankov@yandex-team.ru>2022-02-10 16:48:05 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:05 +0300
commit5b8d95df2f0cfca4d3f5499a4259aa2050ef1571 (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /util/generic/algorithm.h
parentcd88d7933255d8690da34c7b1f7427cf2bb3ae23 (diff)
downloadydb-5b8d95df2f0cfca4d3f5499a4259aa2050ef1571.tar.gz
Restoring authorship annotation for <divankov@yandex-team.ru>. Commit 2 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 54b6033a8c0..badfb889933 100644
--- a/util/generic/algorithm.h
+++ b/util/generic/algorithm.h
@@ -63,7 +63,7 @@ static inline void SortBy(TContainer& container, const TGetKey& getKey) {
SortBy(container.begin(), container.end(), getKey);
}
-template <class T>
+template <class T>
static inline void StableSort(T f, T l) {
std::stable_sort(f, l);
}
@@ -93,7 +93,7 @@ static inline void StableSortBy(TContainer& container, const TGetKey& getKey) {
StableSortBy(container.begin(), container.end(), getKey);
}
-template <class T>
+template <class T>
static inline void PartialSort(T f, T m, T l) {
std::partial_sort(f, m, l);
}