Use nullptr rather than 0 when initializing pointers
[folly.git] / folly / hash / test / SpookyHashV1Test.cpp
index 054c37cac06816e22bc4d32f8b331f4ebd34cda6..d5987f8e44de846b6f62d6bc3bbed1d00f9945c4 100644 (file)
@@ -315,7 +315,7 @@ void DoTimingBig(int seed)
     for (int i=0; i<NUMBUF; ++i)
     {
         free(buf[i]);
-        buf[i] = 0;
+        buf[i] = nullptr;
     }
 }
 #undef NUMBUF