diff options
author | divankov <divankov@yandex-team.ru> | 2022-02-10 16:48:05 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:05 +0300 |
commit | cd88d7933255d8690da34c7b1f7427cf2bb3ae23 (patch) | |
tree | 39e40694c8b41674a17b90f034e31d7cfcf20142 /util/generic/algorithm.h | |
parent | 37a2795395ba606e239b750ff2afb17905274ec4 (diff) | |
download | ydb-cd88d7933255d8690da34c7b1f7427cf2bb3ae23.tar.gz |
Restoring authorship annotation for <divankov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/algorithm.h')
-rw-r--r-- | util/generic/algorithm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/generic/algorithm.h b/util/generic/algorithm.h index badfb88993..54b6033a8c 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); } |