From 181efbf44a53ebc946b29406b35ac6bb33e80b99 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 12 Jun 2014 01:59:06 +0000 Subject: Use generic_category from the std namespace. llvm-svn: 210736 --- clang/lib/Basic/VirtualFileSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/Basic/VirtualFileSystem.cpp') 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(); } -- cgit v1.1