Skip to content

Commit 7494e98

Browse files
author
redi
committed
Add missing noexcept in string_view::find_first_of declaration
2017-11-27 Stephan Bergmann <[email protected]> * include/std/string_view (basic_string_view::find_first_of): Add missing noexcept. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@255176 138bc75d-0d04-0410-961f-82ee72b054a4
1 parent b39d9a3 commit 7494e98

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

libstdc++-v3/ChangeLog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
2017-11-27 Stephan Bergmann <[email protected]>
22

3+
* include/std/string_view (basic_string_view::find_first_of): Add
4+
missing noexcept.
5+
36
* include/bits/unordered_map.h (unordered_map): Fix deduction guide.
47
* include/debug/unordered_map (unordered_map): Likewise.
58

libstdc++-v3/include/std/string_view

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
323323
{ return this->find(__c, __pos); }
324324

325325
constexpr size_type
326-
find_first_of(const _CharT* __str, size_type __pos, size_type __n) const;
326+
find_first_of(const _CharT* __str, size_type __pos, size_type __n) const noexcept;
327327

328328
constexpr size_type
329329
find_first_of(const _CharT* __str, size_type __pos = 0) const noexcept

0 commit comments

Comments
 (0)