From 96c9d95f5174bebe02583e40683fd6e05b649d59 Mon Sep 17 00:00:00 2001 From: Ahmed Charles Date: Wed, 5 Mar 2014 10:19:29 +0000 Subject: [C++11] Replace OwningPtr::take() with OwningPtr::release(). llvm-svn: 202957 --- llvm/lib/Object/IRObjectFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Object/IRObjectFile.cpp') diff --git a/llvm/lib/Object/IRObjectFile.cpp b/llvm/lib/Object/IRObjectFile.cpp index b3a5668fc..e8d51ec 100644 --- a/llvm/lib/Object/IRObjectFile.cpp +++ b/llvm/lib/Object/IRObjectFile.cpp @@ -148,5 +148,5 @@ ErrorOr llvm::object::SymbolicFile::createIRObjectFile( new IRObjectFile(Object, EC, Context, BufferOwned)); if (EC) return EC; - return Ret.take(); + return Ret.release(); } -- cgit v1.1