Replace OwningPtr<T> with std::unique_ptr<T>.
[oota-llvm.git] / include / llvm / Object / MachOUniversal.h
index ba02df90714011653ffbc7f91715349084360b6b..9b1afd2072eb5153f6ce4748f382a913f2311c38 100644 (file)
@@ -14,7 +14,6 @@
 #ifndef LLVM_OBJECT_MACHOUNIVERSAL_H
 #define LLVM_OBJECT_MACHOUNIVERSAL_H
 
-#include "llvm/ADT/OwningPtr.h"
 #include "llvm/ADT/StringRef.h"
 #include "llvm/ADT/Triple.h"
 #include "llvm/Object/Binary.h"
@@ -53,7 +52,7 @@ public:
     ObjectForArch getNext() const { return ObjectForArch(Parent, Index + 1); }
     uint32_t getCPUType() const { return Header.cputype; }
 
-    error_code getAsObjectFile(OwningPtr<ObjectFile> &Result) const;
+    error_code getAsObjectFile(std::unique_ptr<ObjectFile> &Result) const;
   };
 
   class object_iterator {
@@ -95,7 +94,7 @@ public:
   }
 
   error_code getObjectForArch(Triple::ArchType Arch,
-                              OwningPtr<ObjectFile> &Result) const;
+                              std::unique_ptr<ObjectFile> &Result) const;
 };
 
 }