public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-3930] libstdc++: Fix mismatched noexcept-specifiers in filesystem::path [PR102499]
@ 2021-09-28 17:08 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2021-09-28 17:08 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:f2b7f56a15d9cbbd2f0db22e0e39c4dd161bab69

commit r12-3930-gf2b7f56a15d9cbbd2f0db22e0e39c4dd161bab69
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Mon Sep 27 22:07:12 2021 +0100

    libstdc++: Fix mismatched noexcept-specifiers in filesystem::path [PR102499]
    
    Signed-off-by: Jonathan Wakely <jwakely@redhat.com>
    
    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<typename _CharT, typename _Traits>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-28 17:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-28 17:08 [gcc r12-3930] libstdc++: Fix mismatched noexcept-specifiers in filesystem::path [PR102499] Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).