Use std::error_code instead of llvm::error_code.
[oota-llvm.git] / lib / Support / FileOutputBuffer.cpp
index 5f74d00c6b5d255b687d0bed90e936cb35629235..b869054338889a1eb8539dbceba35bd3551d9269 100644 (file)
@@ -51,7 +51,7 @@ error_code FileOutputBuffer::create(StringRef FilePath,
       if (EC)
         return EC;
       else
-        return make_error_code(errc::operation_not_permitted);
+        return make_error_code(std::errc::operation_not_permitted);
   }
 
   // Delete target file.