mirror of git://gcc.gnu.org/git/gcc.git
Add missing noexcept on definition to match declaration
* include/bits/regex.tcc (regex_iterator::operator==): Add missing noexcept. From-SVN: r262146
This commit is contained in:
parent
4723f0fb4e
commit
3da2f26ca4
|
|
@ -1,3 +1,8 @@
|
||||||
|
2018-06-26 Jonathan Wakely <jwakely@redhat.com>
|
||||||
|
|
||||||
|
* include/bits/regex.tcc (regex_iterator::operator==): Add missing
|
||||||
|
noexcept.
|
||||||
|
|
||||||
2018-06-25 Jonathan Wakely <jwakely@redhat.com>
|
2018-06-25 Jonathan Wakely <jwakely@redhat.com>
|
||||||
|
|
||||||
PR libstdc++/86112
|
PR libstdc++/86112
|
||||||
|
|
|
||||||
|
|
@ -500,7 +500,7 @@ namespace __detail
|
||||||
typename _Rx_traits>
|
typename _Rx_traits>
|
||||||
bool
|
bool
|
||||||
regex_iterator<_Bi_iter, _Ch_type, _Rx_traits>::
|
regex_iterator<_Bi_iter, _Ch_type, _Rx_traits>::
|
||||||
operator==(const regex_iterator& __rhs) const
|
operator==(const regex_iterator& __rhs) const noexcept
|
||||||
{
|
{
|
||||||
if (_M_pregex == nullptr && __rhs._M_pregex == nullptr)
|
if (_M_pregex == nullptr && __rhs._M_pregex == nullptr)
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue