]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/tests/SBufFindTest.cc
Maintenance: Removed most NULLs using modernize-use-nullptr (#1075)
[thirdparty/squid.git] / src / tests / SBufFindTest.cc
index 2dfc176fb655a976d2b3794d8b8953251c84eec1..f70bb2f9e685714027f6da8705da40a2f2996467 100644 (file)
@@ -370,7 +370,7 @@ SBufFindTest::RandomSBuf(const int length)
         "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
         "abcdefghijklomnpqrstuvwxyz";
 
-    static std::mt19937 mt(time(0));
+    static std::mt19937 mt(time(nullptr));
 
     // sizeof() counts the terminating zero at the end of characters
     // and the distribution is an 'inclusive' value range, so -2