aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/std/syncstream
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-06-25 18:31:22 +0100
committerJonathan Wakely <jwakely@redhat.com>2021-06-25 18:41:30 +0100
commit7ab7fa1b51cb7227e051842bcb971b95c962327a (patch)
tree36b030eb7cdc520fde9719b68709790aa74dab74 /libstdc++-v3/include/std/syncstream
parente83a5a6b6893e910dc0b6b1cd034e1a258406c93 (diff)
downloadgcc-7ab7fa1b51cb7227e051842bcb971b95c962327a.zip
gcc-7ab7fa1b51cb7227e051842bcb971b95c962327a.tar.gz
gcc-7ab7fa1b51cb7227e051842bcb971b95c962327a.tar.bz2
libstdc++: Remove noexcept from syncbuf::swap (LWG 3498)
The proposed resolution for the inconsistent noexcept-specifiers in the spec is to remove it from bto hthe assignment operator and swap. libstdc++-v3/ChangeLog: * include/std/syncstream (basic_syncbuf::swap()): Remove noexcept, as per LWG 3498.
Diffstat (limited to 'libstdc++-v3/include/std/syncstream')
-rw-r--r--libstdc++-v3/include/std/syncstream2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/std/syncstream b/libstdc++-v3/include/std/syncstream
index 299941f..db6ebd5 100644
--- a/libstdc++-v3/include/std/syncstream
+++ b/libstdc++-v3/include/std/syncstream
@@ -114,7 +114,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
}
void
- swap(basic_syncbuf& __other) noexcept
+ swap(basic_syncbuf& __other)
{
using _ATr = allocator_traits<_Alloc>;
if constexpr (!_ATr::propagate_on_container_swap::value)