[committed] libstdc++: Partially revert r11-9772-g6f8133689f4397 [PR105915]
Commit Message
I have done a partial revert on the gcc-11 branch to fix PR105915.
I'll also backport it to gcc-10 after testing finishes.
-- >8 --
The r11-9772-g6f8133689f4397 backport made two changes, but only one was
needed on the gcc-11 branch. The other should not have been backported,
and causes errors with clang. This removes the unwanted part.
libstdc++-v3/ChangeLog:
PR libstdc++/105915
* include/experimental/bits/fs_path.h (path::begin, path::end):
Remove noexcept from declarations.
---
libstdc++-v3/include/experimental/bits/fs_path.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
@@ -425,8 +425,8 @@ namespace __detail
class iterator;
typedef iterator const_iterator;
- iterator begin() const noexcept;
- iterator end() const noexcept;
+ iterator begin() const;
+ iterator end() const;
/// @cond undocumented
// Create a basic_string by reading until a null character.