From 13a74602bd4c46149da9949d448387a40b8ebd1c Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Sun, 25 Jun 2023 20:01:32 +1000 Subject: Upgrade to C++17 --- source/core/StarAlgorithm.hpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'source/core/StarAlgorithm.hpp') 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 -#include -#include - #include "StarException.hpp" namespace Star { @@ -267,11 +263,6 @@ void stableSortByComputedValue(Container& container, Getter&& valueGetter) { return sortByComputedValue(container, forward(valueGetter), true); } -template -void shuffle(Container& c) { - std::random_shuffle(c.begin(), c.end()); -} - template void reverse(Container& c) { std::reverse(c.begin(), c.end()); -- cgit v1.2.3