While applying N4258, I forgot about LWG#2455, which modified the modifications. Correct those - h/t: Howard
llvm-svn: 239004
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: 979550f2210e5c5fb1c061f5b88cdcbd6fa40f36
diff --git a/include/string b/include/string
index b8cbea3..ac7b30a 100644
--- a/include/string
+++ b/include/string
@@ -1321,11 +1321,7 @@
static const size_type npos = -1;
_LIBCPP_INLINE_VISIBILITY basic_string()
-#if _LIBCPP_STD_VER <= 14
_NOEXCEPT_(is_nothrow_default_constructible<allocator_type>::value);
-#else
- _NOEXCEPT;
-#endif
_LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type& __a)
#if _LIBCPP_STD_VER <= 14
@@ -1943,11 +1939,7 @@
template <class _CharT, class _Traits, class _Allocator>
inline _LIBCPP_INLINE_VISIBILITY
basic_string<_CharT, _Traits, _Allocator>::basic_string()
-#if _LIBCPP_STD_VER <= 14
- _NOEXCEPT_(is_nothrow_default_constructible<allocator_type>::value)
-#else
- _NOEXCEPT
-#endif
+ _NOEXCEPT_(is_nothrow_default_constructible<allocator_type>::value)
{
#if _LIBCPP_DEBUG_LEVEL >= 2
__get_db()->__insert_c(this);