diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-12 01:59:06 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-12 01:59:06 +0000 |
commit | 181efbf44a53ebc946b29406b35ac6bb33e80b99 (patch) | |
tree | 82bc9d4cda76b8aab25a2ff5a19db38e8e6b1253 /clang/lib/Basic/VirtualFileSystem.cpp | |
parent | d9ba837bfd25926d89494865ae9e31e1b316419c (diff) | |
download | llvm-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.cpp | 2 |
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(); } |