commit | 200241e4de11981523b3d14f3acab6129efed701 | [log] [tgz] |
---|---|---|
author | Andy Gibbs <andyg1001@hotmail.co.uk> | Fri Apr 12 10:56:28 2013 +0000 |
committer | Andy Gibbs <andyg1001@hotmail.co.uk> | Fri Apr 12 10:56:28 2013 +0000 |
tree | 265e6f10406344d11ebacd61bcb9d6a261a15c82 | |
parent | 71c1b228552ece06003d744b815f669dbfbb0772 [diff] [blame] |
Replace uses of the deprecated std::auto_ptr with OwningPtr. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179373 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/llvm-extract/llvm-extract.cpp b/tools/llvm-extract/llvm-extract.cpp index fd0a381..2f45b4e 100644 --- a/tools/llvm-extract/llvm-extract.cpp +++ b/tools/llvm-extract/llvm-extract.cpp
@@ -100,7 +100,7 @@ // Use lazy loading, since we only care about selected global values. SMDiagnostic Err; - std::auto_ptr<Module> M; + OwningPtr<Module> M; M.reset(getLazyIRFileModule(InputFilename, Err, Context)); if (M.get() == 0) {