summaryrefslogtreecommitdiffstats
path: root/libcxx
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2012-03-21 16:18:57 +0000
committerHoward Hinnant <hhinnant@apple.com>2012-03-21 16:18:57 +0000
commitcb16c680428b45e9167af2d9eb1151a5783a216f (patch)
treee5b8dd4ef3d37a667cc876a57761a2f53f3cd462 /libcxx
parente9de728afc06baba8cc04ff750a762eb0c218f45 (diff)
downloadbcm5719-llvm-cb16c680428b45e9167af2d9eb1151a5783a216f.tar.gz
bcm5719-llvm-cb16c680428b45e9167af2d9eb1151a5783a216f.zip
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.
llvm-svn: 153194
Diffstat (limited to 'libcxx')
-rw-r--r--libcxx/include/system_error2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/system_error b/libcxx/include/system_error
index 805c6464883..e9f2b55eac1 100644
--- a/libcxx/include/system_error
+++ b/libcxx/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;
OpenPOWER on IntegriCloud