Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarAlgorithm.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-06-25 20:01:32 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-06-25 20:01:32 +1000
commit13a74602bd4c46149da9949d448387a40b8ebd1c (patch)
tree74c5d7c4f3732155e65e8df454017c5b7d2ca35d /source/core/StarAlgorithm.hpp
parentdf661be1a3623d0a655758095fb08cb953448336 (diff)
Upgrade to C++17
Diffstat (limited to 'source/core/StarAlgorithm.hpp')
-rw-r--r--source/core/StarAlgorithm.hpp9
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());
}