From: Jonathan Wakely Date: Wed, 19 Apr 2017 11:03:43 +0000 (+0100) Subject: PR libstdc++/80448 remove noexcept from defaulted functions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6cff9199c10272a67e727ef4544015395770f1c3;p=gcc.git PR libstdc++/80448 remove noexcept from defaulted functions PR libstdc++/80448 * include/experimental/bits/fs_dir.h (directory_iterator) (recursive_directory_iterator): Remove noexcept from defaulted constructors. From-SVN: r246993 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 3d0561ba36e..01156a0cea6 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,10 @@ 2017-04-19 Jonathan Wakely + PR libstdc++/80448 + * include/experimental/bits/fs_dir.h (directory_iterator) + (recursive_directory_iterator): Remove noexcept from defaulted + constructors. + PR libstdc++/80446 * include/std/type_traits (is_aggregate): Change __has_builtin checks. * libsupc++/new (launder): Likewise. diff --git a/libstdc++-v3/include/experimental/bits/fs_dir.h b/libstdc++-v3/include/experimental/bits/fs_dir.h index 3bdf9115448..0efaf944f60 100644 --- a/libstdc++-v3/include/experimental/bits/fs_dir.h +++ b/libstdc++-v3/include/experimental/bits/fs_dir.h @@ -181,7 +181,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11 typedef const directory_entry& reference; typedef input_iterator_tag iterator_category; - directory_iterator() noexcept = default; + directory_iterator() = default; explicit directory_iterator(const path& __p) @@ -262,7 +262,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11 typedef const directory_entry& reference; typedef input_iterator_tag iterator_category; - recursive_directory_iterator() noexcept = default; + recursive_directory_iterator() = default; explicit recursive_directory_iterator(const path& __p) @@ -282,8 +282,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11 recursive_directory_iterator( const recursive_directory_iterator&) = default; - recursive_directory_iterator( - recursive_directory_iterator&&) noexcept = default; + recursive_directory_iterator(recursive_directory_iterator&&) = default; ~recursive_directory_iterator();