From 6a9aae77d4bc6eb644c106fc79be6f59c53c5ba1 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 11 Jun 2014 03:49:13 +0000 Subject: There is no posix_category in std, use generic_category. llvm-svn: 210630 --- llvm/lib/Support/system_error.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'llvm/lib/Support/system_error.cpp') diff --git a/llvm/lib/Support/system_error.cpp b/llvm/lib/Support/system_error.cpp index 0ca183e40a4..46b501eea0e 100644 --- a/llvm/lib/Support/system_error.cpp +++ b/llvm/lib/Support/system_error.cpp @@ -96,15 +96,6 @@ system_category() { return s; } -const error_category& -posix_category() { -#ifdef LLVM_ON_WIN32 - return generic_category(); -#else - return system_category(); -#endif -} - // error_condition std::string -- cgit v1.2.3