From 9aa4e11451862c1f4e1d0b98bb7e2c065a010882 Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Wed, 21 Mar 2012 16:18:57 +0000 Subject: [PATCH] It appears that the standard accidentally removed the default constructor for error_category. I'm putting it back in. This fixes http://llvm.org/bugs/show_bug.cgi?id=12321. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@153194 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/system_error | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/system_error b/include/system_error index 805c6464..e9f2b55e 100644 --- a/include/system_error +++ b/include/system_error @@ -366,8 +366,8 @@ class _LIBCPP_VISIBLE error_category public: virtual ~error_category() _NOEXCEPT; -private: error_category() _NOEXCEPT; +private: error_category(const error_category&);// = delete; error_category& operator=(const error_category&);// = delete;