From c145fd3cf5f9b9bb666267869eb556c54cdd5194 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Sat, 31 May 2014 03:21:04 +0000 Subject: There is no std::errc::success, remove the llvm one. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209960 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/system_error.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/llvm/Support/system_error.h') diff --git a/include/llvm/Support/system_error.h b/include/llvm/Support/system_error.h index 9854a9ee85..9d300fb991 100644 --- a/include/llvm/Support/system_error.h +++ b/include/llvm/Support/system_error.h @@ -483,7 +483,6 @@ template struct is_error_condition_enum : public std::false_type {}; // for them: enum class errc { - success = 0, address_family_not_supported = EAFNOSUPPORT, address_in_use = EADDRINUSE, address_not_available = EADDRNOTAVAIL, @@ -810,7 +809,6 @@ inline bool operator!=(const error_condition& _x, const error_condition& _y) { // // error_code( ::GetLastError(), system_category() ) enum class windows_error { - success = 0, // These names and values are based on Windows WinError.h // This is not a complete list. Add to this list if you need to explicitly // check for it. -- cgit v1.2.3