r210736 - Use generic_category from the std namespace.

Rafael Espindola rafael.espindola at gmail.com
Wed Jun 11 18:59:06 PDT 2014


Author: rafael
Date: Wed Jun 11 20:59:06 2014
New Revision: 210736

URL: http://llvm.org/viewvc/llvm-project?rev=210736&view=rev
Log:
Use generic_category from the std namespace.

Modified:
    cfe/trunk/lib/Basic/VirtualFileSystem.cpp

Modified: cfe/trunk/lib/Basic/VirtualFileSystem.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/VirtualFileSystem.cpp?rev=210736&r1=210735&r2=210736&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/VirtualFileSystem.cpp (original)
+++ cfe/trunk/lib/Basic/VirtualFileSystem.cpp Wed Jun 11 20:59:06 2014
@@ -140,7 +140,7 @@ error_code RealFile::getBuffer(const Twi
 #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();
 }





More information about the cfe-commits mailing list