From 2c74626e66e5fd88683348f37f4b30ab397bf55b Mon Sep 17 00:00:00 2001 From: Shauren Date: Wed, 9 Jul 2025 12:20:10 +0200 Subject: Core/Random: Use standard aligned operator new and remove RandomEngine singleton instance (it is trivially constructible) --- src/common/Utilities/Containers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/Utilities/Containers.h') 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 inline void RandomShuffle(Iterator begin, Iterator end) { - std::ranges::shuffle(begin, end, RandomEngine::Instance()); + std::ranges::shuffle(begin, end, RandomEngine()); } /** -- cgit v1.2.3