Remove 'using std::errro_code' from lib.
[oota-llvm.git] / lib / Support / Unix / Program.inc
index d8506643349c435ac87c95378ffb8a28d8717e90..50f973a850b6c24b8a2b4296de502c8566933be8 100644 (file)
@@ -48,7 +48,6 @@
 #endif
 
 namespace llvm {
-using std::error_code;
 
 using namespace sys;
 
@@ -427,14 +426,14 @@ ProcessInfo sys::Wait(const ProcessInfo &PI, unsigned SecondsToWait,
   return WaitResult;
 }
 
-error_code sys::ChangeStdinToBinary(){
+  std::error_code sys::ChangeStdinToBinary(){
   // Do nothing, as Unix doesn't differentiate between text and binary.
-  return error_code();
+    return std::error_code();
 }
 
-error_code sys::ChangeStdoutToBinary(){
+  std::error_code sys::ChangeStdoutToBinary(){
   // Do nothing, as Unix doesn't differentiate between text and binary.
-  return error_code();
+    return std::error_code();
 }
 
 bool llvm::sys::argumentsFitWithinSystemLimits(ArrayRef<const char*> Args) {