Use std::nullptr_t in dynamic
[folly.git] / folly / dynamic.h
index 1c9ac0e0fea563eb7c526a7898f1479434a75e1e..a62805090dd9058938830571b6112c77bf273624 100644 (file)
@@ -552,9 +552,7 @@ private:
     explicit Data() : nul(nullptr) {}
     ~Data() {}
 
-    // XXX: gcc does an ICE if we use std::nullptr_t instead of void*
-    // here.  See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50361
-    void* nul;
+    std::nullptr_t nul;
     Array array;
     bool boolean;
     double doubl;