Replace OwningPtr<T> with std::unique_ptr<T>.
[oota-llvm.git] / include / llvm / Object / IRObjectFile.h
index 5fcbb386d81a09f470cd3107f3704deccdea35d9..78f5b2b64f23afd4f1976e4c352ea9c5acc66cf8 100644 (file)
@@ -23,8 +23,9 @@ class GlobalValue;
 
 namespace object {
 class IRObjectFile : public SymbolicFile {
-  OwningPtr<Module> M;
-  OwningPtr<Mangler> Mang;
+  std::unique_ptr<Module> M;
+  std::unique_ptr<Mangler> Mang;
+
 public:
   IRObjectFile(MemoryBuffer *Object, error_code &EC, LLVMContext &Context,
                bool BufferOwned);