From d8f44ef4f6c5ad86b08658ecba41a84b775b6e69 Mon Sep 17 00:00:00 2001 From: Nils Maier Date: Tue, 20 Aug 2013 18:57:17 +0200 Subject: Convert most 0/NULL pointers to nullptr Courtesy of llvm cpp11-migrate 3.3 --- src/SimpleRandomizer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/SimpleRandomizer.cc') diff --git a/src/SimpleRandomizer.cc b/src/SimpleRandomizer.cc index 5d304243..aaba91a4 100644 --- a/src/SimpleRandomizer.cc +++ b/src/SimpleRandomizer.cc @@ -56,7 +56,7 @@ const std::unique_ptr& SimpleRandomizer::getInstance() void SimpleRandomizer::init() { #ifndef __MINGW32__ - srandom(time(0)^getpid()); + srandom(time(nullptr)^getpid()); #endif // !__MINGW32__ } -- cgit