Replace OwningPtr<T> with std::unique_ptr<T>.
[oota-llvm.git] / tools / bugpoint / BugDriver.cpp
index c23a7912c759337366b04e0a02e7f6d30f33e258..2d1b903829fe47b120b4584d86137624bc38fd48 100644 (file)
@@ -122,7 +122,7 @@ bool BugDriver::addSources(const std::vector<std::string> &Filenames) {
   outs() << "Read input file      : '" << Filenames[0] << "'\n";
 
   for (unsigned i = 1, e = Filenames.size(); i != e; ++i) {
-    OwningPtr<Module> M(ParseInputFile(Filenames[i], Context));
+    std::unique_ptr<Module> M(ParseInputFile(Filenames[i], Context));
     if (M.get() == 0) return true;
 
     outs() << "Linking in input file: '" << Filenames[i] << "'\n";