Use nullptr rather than 0 for a null pointer
[folly.git] / folly / small_vector.h
index b8009b018acf4e1231fc20a13a772ce71518a24c..71440437f672b4978c5746b83f23582377ba8907 100644 (file)
@@ -1137,7 +1137,7 @@ class small_vector : public detail::small_vector_base<
 
   union Data {
     explicit Data() {
-      pdata_.heap_ = 0;
+      pdata_.heap_ = nullptr;
     }
 
     PointerType pdata_;