mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Cosmetics
This commit is contained in:
parent
f5fb87f336
commit
98b00cc73a
@ -27,7 +27,7 @@ const int DEFAULT_UPPER_BOUND = 100;
|
|||||||
|
|
||||||
std::mt19937& GetRandomEngine()
|
std::mt19937& GetRandomEngine()
|
||||||
{
|
{
|
||||||
static std::unique_ptr<std::mt19937> s_Engine(new std::mt19937((uint32_t)time(0)));
|
static std::unique_ptr<std::mt19937> s_Engine(new std::mt19937((uint32_t)time(nullptr)));
|
||||||
return *s_Engine;
|
return *s_Engine;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user