Use nullptr rather than 0 when initializing pointers
[folly.git] / folly / hash / test / SpookyHashV2Test.cpp
index 406c1007b606a7183060dd5cd26ecf3cb1e8c7fe..4d01a2c3444337b2a2bcd45b788810175000538c 100644 (file)
@@ -305,7 +305,7 @@ void DoTimingBig(int seed)
     for (int i=0; i<NUMBUF; ++i)
     {
         free(buf[i]);
-        buf[i] = 0;
+        buf[i] = nullptr;
     }
 }
 #undef NUMBUF