llvm isn't C++11 yet :(
authorMichael J. Spencer <bigcheesegs@gmail.com>
Thu, 8 Aug 2013 22:50:40 +0000 (22:50 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Thu, 8 Aug 2013 22:50:40 +0000 (22:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188023 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Object/ELF.h

index 8afbd451bebe0e19cb5eb473a848fffe1d75c12c..39a8c981c5901afd58e3f61db513e408ebf9a6ec 100644 (file)
@@ -249,7 +249,7 @@ private:
 
   /// \brief Represents a region described by entries in the .dynamic table.
   struct DynRegionInfo {
-    DynRegionInfo() : Addr(nullptr), Size(0), EntSize(0) {}
+    DynRegionInfo() : Addr(0), Size(0), EntSize(0) {}
     /// \brief Address in current address space.
     const void *Addr;
     /// \brief Size in bytes of the region.