summaryrefslogtreecommitdiff
path: root/tools/lli
diff options
context:
space:
mode:
authorAhmed Charles <ahmedcharles@gmail.com>2014-03-05 10:19:29 +0000
committerAhmed Charles <ahmedcharles@gmail.com>2014-03-05 10:19:29 +0000
commit1a6eca243f9274b9b371b7306fa939568ce5c37f (patch)
treee08f8984bc44b63a79a4e1737a47dd66e86c1850 /tools/lli
parent7b62be28cbc6cce31852831570a87d9699fbcecd (diff)
[C++11] Replace OwningPtr::take() with OwningPtr::release().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202957 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lli')
-rw-r--r--tools/lli/lli.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lli/lli.cpp b/tools/lli/lli.cpp
index 448db84d1c9..7bbc5dc97bf 100644
--- a/tools/lli/lli.cpp
+++ b/tools/lli/lli.cpp
@@ -544,7 +544,7 @@ int main(int argc, char **argv, char * const *envp) {
Err.print(argv[0], errs());
return 1;
}
- object::Archive *Ar = new object::Archive(ArBuf.take(), ec);
+ object::Archive *Ar = new object::Archive(ArBuf.release(), ec);
if (ec || !Ar) {
Err.print(argv[0], errs());
return 1;