[llvm] r210740 - Prefix generic_category with std::.

Rafael Espindola rafael.espindola at gmail.com
Wed Jun 11 19:52:23 PDT 2014


Author: rafael
Date: Wed Jun 11 21:52:22 2014
New Revision: 210740

URL: http://llvm.org/viewvc/llvm-project?rev=210740&view=rev
Log:
Prefix generic_category with std::.

Sorry I missed these before.

Modified:
    llvm/trunk/lib/Support/Windows/Program.inc

Modified: llvm/trunk/lib/Support/Windows/Program.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Windows/Program.inc?rev=210740&r1=210739&r2=210740&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Windows/Program.inc (original)
+++ llvm/trunk/lib/Support/Windows/Program.inc Wed Jun 11 21:52:22 2014
@@ -425,14 +425,14 @@ ProcessInfo sys::Wait(const ProcessInfo
 error_code sys::ChangeStdinToBinary(){
   int result = _setmode( _fileno(stdin), _O_BINARY );
   if (result == -1)
-    return error_code(errno, generic_category());
+    return error_code(errno, std::generic_category());
   return error_code();
 }
 
 error_code sys::ChangeStdoutToBinary(){
   int result = _setmode( _fileno(stdout), _O_BINARY );
   if (result == -1)
-    return error_code(errno, generic_category());
+    return error_code(errno, std::generic_category());
   return error_code();
 }
 





More information about the llvm-commits mailing list