diff options
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(); } |