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

summaryrefslogtreecommitdiff
path: root/source/core/StarAlgorithm.hpp
diff options
context:
space:
mode:
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());
}