summaryrefslogtreecommitdiff
path: root/tools/obj2yaml
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/obj2yaml
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/obj2yaml')
-rw-r--r--tools/obj2yaml/obj2yaml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/obj2yaml/obj2yaml.cpp b/tools/obj2yaml/obj2yaml.cpp
index 8d128b35394..d675f59cf48 100644
--- a/tools/obj2yaml/obj2yaml.cpp
+++ b/tools/obj2yaml/obj2yaml.cpp
@@ -45,7 +45,7 @@ int main(int argc, char *argv[]) {
errs() << "Error: '" << ec.message() << "' opening file '" << InputFilename
<< "'\n";
} else {
- ec = coff2yaml(outs(), buf.take());
+ ec = coff2yaml(outs(), buf.release());
if (ec)
errs() << "Error: " << ec.message() << " dumping COFF file\n";
}