aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2020-10-27 14:48:50 +0000
committerJonathan Wakely <jwakely@redhat.com>2020-10-27 14:50:37 +0000
commitfe9d058ca28e0e3a50c44096ce112763057e686e (patch)
tree99defbf80bd00f5bbebab7b08dd286e2761eca79
parentc0b09c1296d5334d1d264ba4d39ca932f9572330 (diff)
downloadgcc-fe9d058ca28e0e3a50c44096ce112763057e686e.zip
gcc-fe9d058ca28e0e3a50c44096ce112763057e686e.tar.gz
gcc-fe9d058ca28e0e3a50c44096ce112763057e686e.tar.bz2
libstdc++: Add noexcept to declaration of path::_List members
libstdc++-v3/ChangeLog: * include/bits/fs_path.h (path::_List::begin, path::_List::end): Add noexcept to match definitions in src/c++17/fs_path.cc.
-rw-r--r--libstdc++-v3/include/bits/fs_path.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libstdc++-v3/include/bits/fs_path.h b/libstdc++-v3/include/bits/fs_path.h
index 5a0917c..7c0b246 100644
--- a/libstdc++-v3/include/bits/fs_path.h
+++ b/libstdc++-v3/include/bits/fs_path.h
@@ -681,10 +681,10 @@ namespace __detail
// All the member functions below here have a precondition !empty()
// (and they should only be called from within the library).
- iterator begin();
- iterator end();
- const_iterator begin() const;
- const_iterator end() const;
+ iterator begin() noexcept;
+ iterator end() noexcept;
+ const_iterator begin() const noexcept;
+ const_iterator end() const noexcept;
value_type& front() noexcept;
value_type& back() noexcept;