From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id 366C23858D39; Tue, 28 Sep 2021 17:08:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 366C23858D39 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jonathan Wakely To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r12-3930] libstdc++: Fix mismatched noexcept-specifiers in filesystem::path [PR102499] X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/master X-Git-Oldrev: e159c0aa10e50c292a534535c73f38d22b6129a8 X-Git-Newrev: f2b7f56a15d9cbbd2f0db22e0e39c4dd161bab69 Message-Id: <20210928170800.366C23858D39@sourceware.org> Date: Tue, 28 Sep 2021 17:08:00 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Sep 2021 17:08:00 -0000 https://gcc.gnu.org/g:f2b7f56a15d9cbbd2f0db22e0e39c4dd161bab69 commit r12-3930-gf2b7f56a15d9cbbd2f0db22e0e39c4dd161bab69 Author: Jonathan Wakely Date: Mon Sep 27 22:07:12 2021 +0100 libstdc++: Fix mismatched noexcept-specifiers in filesystem::path [PR102499] Signed-off-by: Jonathan Wakely libstdc++-v3/ChangeLog: PR libstdc++/102499 * include/bits/fs_path.h (path::begin, path::end): Add noexcept to declarations, to match definitions. Diff: --- libstdc++-v3/include/bits/fs_path.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/include/bits/fs_path.h b/libstdc++-v3/include/bits/fs_path.h index 92f7cbbe357..1918c243d74 100644 --- a/libstdc++-v3/include/bits/fs_path.h +++ b/libstdc++-v3/include/bits/fs_path.h @@ -489,8 +489,8 @@ namespace __detail class iterator; using const_iterator = iterator; - iterator begin() const; - iterator end() const; + iterator begin() const noexcept; + iterator end() const noexcept; /// Write a path to a stream template