commit | 9a16beb8bc580212df519aa488242a94e53741d8 | [log] [tgz] |
---|---|---|
author | Ahmed Charles <ahmedcharles@gmail.com> | Fri Mar 07 19:33:25 2014 +0000 |
committer | Ahmed Charles <ahmedcharles@gmail.com> | Fri Mar 07 19:33:25 2014 +0000 |
tree | 569f8fb251291e9aaacc0ddb6d509a9561ddc264 | |
parent | 9cbd3c628cfdcb7ba2f372b57db317df2a271ebb [diff] [blame] |
Change OwningPtr::take() to OwningPtr::release(). This is a precursor to moving to std::unique_ptr. llvm-svn: 203275
diff --git a/clang/lib/Basic/VirtualFileSystem.cpp b/clang/lib/Basic/VirtualFileSystem.cpp index 28bb598..3775fda 100644 --- a/clang/lib/Basic/VirtualFileSystem.cpp +++ b/clang/lib/Basic/VirtualFileSystem.cpp
@@ -731,7 +731,7 @@ if (!P.parse(Root, FS.get())) return NULL; - return FS.take(); + return FS.release(); } ErrorOr<Entry *> VFSFromYAML::lookupPath(const Twine &Path_) {