Replace OwningPtr<T> with std::unique_ptr<T>.
[oota-llvm.git] / tools / llvm-symbolizer / LLVMSymbolize.h
index 4ad3e97306d51ff89aaf11eced7ba6728d07d95d..53fd81837866a0363b2af3b13da6c821c2639e21 100644 (file)
@@ -13,7 +13,6 @@
 #ifndef LLVM_SYMBOLIZE_H
 #define LLVM_SYMBOLIZE_H
 
-#include "llvm/ADT/OwningPtr.h"
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/DebugInfo/DIContext.h"
 #include "llvm/Object/MachOUniversal.h"
@@ -104,7 +103,7 @@ private:
                               uint64_t &Size) const;
   void addSymbol(const symbol_iterator &Sym);
   ObjectFile *Module;
-  OwningPtr<DIContext> DebugInfoContext;
+  std::unique_ptr<DIContext> DebugInfoContext;
 
   struct SymbolDesc {
     uint64_t Addr;