aboutsummaryrefslogtreecommitdiff
path: root/src/common/Utilities/Containers.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2025-07-09 12:20:10 +0200
committerShauren <shauren.trinity@gmail.com>2025-07-09 12:20:10 +0200
commit2c74626e66e5fd88683348f37f4b30ab397bf55b (patch)
tree50b4dee8256022d29c0146834ab604d16c5d9ddd /src/common/Utilities/Containers.h
parentc7f5696479bb85c8fc7ee0d9fdaeb92e2b32213f (diff)
Core/Random: Use standard aligned operator new and remove RandomEngine singleton instance (it is trivially constructible)
Diffstat (limited to 'src/common/Utilities/Containers.h')
-rw-r--r--src/common/Utilities/Containers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Utilities/Containers.h b/src/common/Utilities/Containers.h
index 11928fa053d..551587a9eab 100644
--- a/src/common/Utilities/Containers.h
+++ b/src/common/Utilities/Containers.h
@@ -170,7 +170,7 @@ namespace Trinity
template <std::random_access_iterator Iterator>
inline void RandomShuffle(Iterator begin, Iterator end)
{
- std::ranges::shuffle(begin, end, RandomEngine::Instance());
+ std::ranges::shuffle(begin, end, RandomEngine());
}
/**