diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2015-06-04 02:05:41 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2015-06-04 02:05:41 +0000 |
commit | 979550f2210e5c5fb1c061f5b88cdcbd6fa40f36 (patch) | |
tree | 3b6df71c23063513f992dd0bb06f86dce638b8b0 /libcxx/test/std/strings/basic.string/string.cons | |
parent | 70c61c1a8adad268f1058986aa501afb142ecb4c (diff) | |
download | bcm5719-llvm-979550f2210e5c5fb1c061f5b88cdcbd6fa40f36.tar.gz bcm5719-llvm-979550f2210e5c5fb1c061f5b88cdcbd6fa40f36.zip |
While applying N4258, I forgot about LWG#2455, which modified the modifications. Correct those - h/t: Howard
llvm-svn: 239004
Diffstat (limited to 'libcxx/test/std/strings/basic.string/string.cons')
-rw-r--r-- | libcxx/test/std/strings/basic.string/string.cons/default_noexcept.pass.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libcxx/test/std/strings/basic.string/string.cons/default_noexcept.pass.cpp b/libcxx/test/std/strings/basic.string/string.cons/default_noexcept.pass.cpp index c6137d6b54b..af117103d82 100644 --- a/libcxx/test/std/strings/basic.string/string.cons/default_noexcept.pass.cpp +++ b/libcxx/test/std/strings/basic.string/string.cons/default_noexcept.pass.cpp @@ -40,12 +40,7 @@ int main() } { typedef std::basic_string<char, std::char_traits<char>, some_alloc<char>> C; -// See N4258 - basic_string<char, traits, Allocator>::basic_string() noexcept; -#if TEST_STD_VER <= 14 static_assert(!std::is_nothrow_default_constructible<C>::value, ""); -#else - static_assert( std::is_nothrow_default_constructible<C>::value, ""); -#endif } #endif } |