[gcc r9-9379] libstdc++: Add noexcept to declaration of path::_List members
Jonathan Wakely
redi@gcc.gnu.org
Tue Apr 20 18:53:10 GMT 2021
https://gcc.gnu.org/g:51d19b9b06cef05a5368c8f07c2c6269e6b1f8b0
commit r9-9379-g51d19b9b06cef05a5368c8f07c2c6269e6b1f8b0
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Tue Oct 27 14:48:50 2020 +0000
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.
(cherry picked from commit fe9d058ca28e0e3a50c44096ce112763057e686e)
Diff:
---
libstdc++-v3/include/bits/fs_path.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/libstdc++-v3/include/bits/fs_path.h b/libstdc++-v3/include/bits/fs_path.h
index f674d6aec45..13eb18c0652 100644
--- a/libstdc++-v3/include/bits/fs_path.h
+++ b/libstdc++-v3/include/bits/fs_path.h
@@ -583,10 +583,10 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11
// 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;
More information about the Libstdc++-cvs
mailing list