Replace OwningPtr<T> with std::unique_ptr<T>.
[oota-llvm.git] / lib / MC / MCModuleYAML.cpp
index e2de57849b923c0d82024a60215c7a4974e45620..102971b73208c98e3aa387f1e8b98a21adbab319 100644 (file)
@@ -442,7 +442,7 @@ StringRef mcmodule2yaml(raw_ostream &OS, const MCModule &MCM,
   return "";
 }
 
-StringRef yaml2mcmodule(OwningPtr<MCModule> &MCM, StringRef YamlContent,
+StringRef yaml2mcmodule(std::unique_ptr<MCModule> &MCM, StringRef YamlContent,
                         const MCInstrInfo &MII, const MCRegisterInfo &MRI) {
   MCM.reset(new MCModule);
   YAML2MCModule Parser(*MCM);