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
This commit is contained in:
Howard Hinnant 2012-03-21 16:18:57 +00:00
parent 87c61a61fe
commit 9aa4e11451

View File

@ -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;