From 98b00cc73a1dec789cf6dd58d8660843be1d81d7 Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Sun, 8 Dec 2013 15:07:45 +0200 Subject: [PATCH] Cosmetics --- Library/MeasureCalc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }