Replace OwningPtr<T> with std::unique_ptr<T>.
[oota-llvm.git] / lib / MC / MCExternalSymbolizer.cpp
index 9cd5f6b68caad7d5636101ad4896d790708e641e..660a11c274247af495a21f6a03d6c17fca8428ad 100644 (file)
@@ -191,7 +191,7 @@ MCSymbolizer *createMCSymbolizer(StringRef TT, LLVMOpInfoCallback GetOpInfo,
                                  MCRelocationInfo *RelInfo) {
   assert(Ctx != 0 && "No MCContext given for symbolic disassembly");
 
-  OwningPtr<MCRelocationInfo> RelInfoOwingPtr(RelInfo);
+  std::unique_ptr<MCRelocationInfo> RelInfoOwingPtr(RelInfo);
   return new MCExternalSymbolizer(*Ctx, RelInfoOwingPtr, GetOpInfo,
                                   SymbolLookUp, DisInfo);
 }