aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-09-27 22:07:12 +0100
committerJonathan Wakely <jwakely@redhat.com>2021-09-28 17:30:05 +0100
commitf2b7f56a15d9cbbd2f0db22e0e39c4dd161bab69 (patch)
tree540d9b77777033d585dd0cfb9e9937e2d5921e8f
parente159c0aa10e50c292a534535c73f38d22b6129a8 (diff)
downloadgcc-f2b7f56a15d9cbbd2f0db22e0e39c4dd161bab69.zip
gcc-f2b7f56a15d9cbbd2f0db22e0e39c4dd161bab69.tar.gz
gcc-f2b7f56a15d9cbbd2f0db22e0e39c4dd161bab69.tar.bz2
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.
-rw-r--r--libstdc++-v3/include/bits/fs_path.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/include/bits/fs_path.h b/libstdc++-v3/include/bits/fs_path.h
index 92f7cbb..1918c24 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>