diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-25 20:01:32 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-25 20:01:32 +1000 |
commit | 13a74602bd4c46149da9949d448387a40b8ebd1c (patch) | |
tree | 74c5d7c4f3732155e65e8df454017c5b7d2ca35d /source/core/StarAlgorithm.hpp | |
parent | df661be1a3623d0a655758095fb08cb953448336 (diff) |
Upgrade to C++17
Diffstat (limited to 'source/core/StarAlgorithm.hpp')
-rw-r--r-- | source/core/StarAlgorithm.hpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/source/core/StarAlgorithm.hpp b/source/core/StarAlgorithm.hpp index 331f653..e26917a 100644 --- a/source/core/StarAlgorithm.hpp +++ b/source/core/StarAlgorithm.hpp @@ -1,10 +1,6 @@ #ifndef STAR_ALGORITHM_HPP #define STAR_ALGORITHM_HPP -#include <type_traits> -#include <vector> -#include <iterator> - #include "StarException.hpp" namespace Star { @@ -268,11 +264,6 @@ void stableSortByComputedValue(Container& container, Getter&& valueGetter) { } template <typename Container> -void shuffle(Container& c) { - std::random_shuffle(c.begin(), c.end()); -} - -template <typename Container> void reverse(Container& c) { std::reverse(c.begin(), c.end()); } |