aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-06-12 01:59:06 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-06-12 01:59:06 +0000
commit181efbf44a53ebc946b29406b35ac6bb33e80b99 (patch)
tree82bc9d4cda76b8aab25a2ff5a19db38e8e6b1253 /clang/lib/Basic/VirtualFileSystem.cpp
parentd9ba837bfd25926d89494865ae9e31e1b316419c (diff)
downloadllvm-181efbf44a53ebc946b29406b35ac6bb33e80b99.zip
llvm-181efbf44a53ebc946b29406b35ac6bb33e80b99.tar.gz
llvm-181efbf44a53ebc946b29406b35ac6bb33e80b99.tar.bz2
Use generic_category from the std namespace.
llvm-svn: 210736
Diffstat (limited to 'clang/lib/Basic/VirtualFileSystem.cpp')
-rw-r--r--clang/lib/Basic/VirtualFileSystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Basic/VirtualFileSystem.cpp b/clang/lib/Basic/VirtualFileSystem.cpp
index 1e771e0..27b6c75 100644
--- a/clang/lib/Basic/VirtualFileSystem.cpp
+++ b/clang/lib/Basic/VirtualFileSystem.cpp
@@ -140,7 +140,7 @@ error_code RealFile::getBuffer(const Twine &Name,
#endif
error_code RealFile::close() {
if (::close(FD))
- return error_code(errno, generic_category());
+ return error_code(errno, std::generic_category());
FD = -1;
return error_code();
}