Use nullptr rather than 0 when initializing pointers
[folly.git] / folly / test / AtomicHashMapTest.cpp
index 147d2238ef1a209b530fcc68bbf8a50b593ec0a3..f204f8ff8cb0bbe1ed38aed5dec524f8af719fb6 100644 (file)
@@ -44,7 +44,7 @@ const int maxBMElements = int(FLAGS_numBMElements * LF); // hit our target LF.
 
 static int64_t nowInUsec() {
   timeval tv;
-  gettimeofday(&tv, 0);
+  gettimeofday(&tv, nullptr);
   return int64_t(tv.tv_sec) * 1000 * 1000 + tv.tv_usec;
 }