diff --git a/Library/MeasureCalc.cpp b/Library/MeasureCalc.cpp index b408c035..f5c29fbb 100644 --- a/Library/MeasureCalc.cpp +++ b/Library/MeasureCalc.cpp @@ -27,7 +27,7 @@ const int DEFAULT_UPPER_BOUND = 100; std::mt19937& GetRandomEngine() { - static std::unique_ptr s_Engine(new std::mt19937((uint32_t)time(0))); + static std::unique_ptr s_Engine(new std::mt19937((uint32_t)time(nullptr))); return *s_Engine; }