[C++11] Replace OwningPtr::take() with OwningPtr::release().
[oota-llvm.git] / lib / MC / MCSymbolizer.cpp
index 1020b74b342cdd689322364d04045ccd2315912b..d3c7311e0159bf4ad606b86c48d609e7063e18ef 100644 (file)
@@ -13,7 +13,7 @@
 using namespace llvm;
 
 MCSymbolizer::MCSymbolizer(MCContext &Ctx, OwningPtr<MCRelocationInfo> &RelInfo)
-  : Ctx(Ctx), RelInfo(RelInfo.take()) {
+  : Ctx(Ctx), RelInfo(RelInfo.release()) {
 }
 
 MCSymbolizer::~MCSymbolizer() {