Use nullptr rather than 0 for a null pointer
[folly.git] / folly / test / MPMCQueueTest.cpp
index 0874a8f2f8e6c05ed168f8474a1f257091f4a58f..1839903634db71696d0e13c4b9e13389ee746083 100644 (file)
@@ -348,7 +348,7 @@ TEST(MPMCQueue, mt_try_enq_deq_deterministic) {
 
 uint64_t nowMicro() {
   timeval tv;
-  gettimeofday(&tv, 0);
+  gettimeofday(&tv, nullptr);
   return static_cast<uint64_t>(tv.tv_sec) * 1000000 + tv.tv_usec;
 }