diff --git a/libcxx/include/map b/libcxx/include/map index f533d8f4b8a9..5534e407e560 100644 --- a/libcxx/include/map +++ b/libcxx/include/map @@ -846,7 +846,6 @@ public: explicit map(const key_compare& __comp) _NOEXCEPT_( is_nothrow_default_constructible::value && - is_nothrow_default_constructible::value && is_nothrow_copy_constructible::value) : __tree_(__vc(__comp)) {} @@ -1587,7 +1586,6 @@ public: explicit multimap(const key_compare& __comp) _NOEXCEPT_( is_nothrow_default_constructible::value && - is_nothrow_default_constructible::value && is_nothrow_copy_constructible::value) : __tree_(__vc(__comp)) {} diff --git a/libcxx/include/set b/libcxx/include/set index 7dbf97095e24..b9e776d4a0a7 100644 --- a/libcxx/include/set +++ b/libcxx/include/set @@ -436,7 +436,6 @@ public: explicit set(const value_compare& __comp) _NOEXCEPT_( is_nothrow_default_constructible::value && - is_nothrow_default_constructible::value && is_nothrow_copy_constructible::value) : __tree_(__comp) {} @@ -842,7 +841,6 @@ public: explicit multiset(const value_compare& __comp) _NOEXCEPT_( is_nothrow_default_constructible::value && - is_nothrow_default_constructible::value && is_nothrow_copy_constructible::value) : __tree_(__comp) {}