PR libstdc++/80448 remove noexcept from defaulted functions
authorJonathan Wakely <jwakely@redhat.com>
Wed, 19 Apr 2017 11:03:43 +0000 (12:03 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 19 Apr 2017 11:03:43 +0000 (12:03 +0100)
PR libstdc++/80448
* include/experimental/bits/fs_dir.h (directory_iterator)
(recursive_directory_iterator): Remove noexcept from defaulted
constructors.

From-SVN: r246993

libstdc++-v3/ChangeLog
libstdc++-v3/include/experimental/bits/fs_dir.h

index 3d0561ba36e7633b175834c6de5837257c54a600..01156a0cea641fad4b39b5eb2d6c2bc55cbd05c1 100644 (file)
@@ -1,5 +1,10 @@
 2017-04-19  Jonathan Wakely  <jwakely@redhat.com>
 
+       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.
index 3bdf91154485a1a4bf020d609e01a3934154a01c..0efaf944f60047de5a1262be615574888e44422b 100644 (file)
@@ -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();