Add missing noexcept in string_view::find_first_of declaration

2017-11-27  Stephan Bergmann  <sbergman@redhat.com>

	* include/std/string_view (basic_string_view::find_first_of): Add
	missing noexcept.

From-SVN: r255176
This commit is contained in:
Stephan Bergmann 2017-11-27 19:43:40 +00:00 committed by Jonathan Wakely
parent 4c71819dda
commit 0f42ffd7f7
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2017-11-27 Stephan Bergmann <sbergman@redhat.com>
* include/std/string_view (basic_string_view::find_first_of): Add
missing noexcept.
* include/bits/unordered_map.h (unordered_map): Fix deduction guide.
* include/debug/unordered_map (unordered_map): Likewise.

View File

@ -323,7 +323,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
{ return this->find(__c, __pos); }
constexpr size_type
find_first_of(const _CharT* __str, size_type __pos, size_type __n) const;
find_first_of(const _CharT* __str, size_type __pos, size_type __n) const noexcept;
constexpr size_type
find_first_of(const _CharT* __str, size_type __pos = 0) const noexcept