Change OwningPtr::take() to OwningPtr::release().
This is a precursor to moving to std::unique_ptr. llvm-svn: 203275
This commit is contained in:
@@ -731,7 +731,7 @@ VFSFromYAML *VFSFromYAML::create(MemoryBuffer *Buffer,
|
||||
if (!P.parse(Root, FS.get()))
|
||||
return NULL;
|
||||
|
||||
return FS.take();
|
||||
return FS.release();
|
||||
}
|
||||
|
||||
ErrorOr<Entry *> VFSFromYAML::lookupPath(const Twine &Path_) {
|
||||
|
||||
Reference in New Issue
Block a user