From: Jonathan Wakely Date: Fri, 10 Jun 2022 12:01:16 +0000 (+0100) Subject: libstdc++: Partially revert r11-9772-g6f8133689f4397 [PR105915] X-Git-Tag: releases/gcc-10.4.0~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2385d1fe9f9ee0b5940ba27b41b79c9db051104;p=thirdparty%2Fgcc.git libstdc++: Partially revert r11-9772-g6f8133689f4397 [PR105915] 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. (cherry picked from commit 60c84707034f025de3c8821cc5d6f27ff59143b0) --- diff --git a/libstdc++-v3/include/experimental/bits/fs_path.h b/libstdc++-v3/include/experimental/bits/fs_path.h index 927cf2278d10..0a8f4eee0a1a 100644 --- a/libstdc++-v3/include/experimental/bits/fs_path.h +++ b/libstdc++-v3/include/experimental/bits/fs_path.h @@ -419,8 +419,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.