Cosmetics

This commit is contained in:
Birunthan Mohanathas 2013-12-08 15:07:45 +02:00
parent f5fb87f336
commit 98b00cc73a

View File

@ -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;
} }