From: Jonathan Wakely Date: Tue, 26 Jun 2018 12:24:47 +0000 (+0100) Subject: Add missing noexcept on definition to match declaration X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3da2f26ca45060ddd8514010090353a2adec334a;p=gcc.git Add missing noexcept on definition to match declaration * include/bits/regex.tcc (regex_iterator::operator==): Add missing noexcept. From-SVN: r262146 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index eb79e8172b9..0da61d322aa 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2018-06-26 Jonathan Wakely + + * include/bits/regex.tcc (regex_iterator::operator==): Add missing + noexcept. + 2018-06-25 Jonathan Wakely PR libstdc++/86112 diff --git a/libstdc++-v3/include/bits/regex.tcc b/libstdc++-v3/include/bits/regex.tcc index b92edb9ab29..dcf660902bc 100644 --- a/libstdc++-v3/include/bits/regex.tcc +++ b/libstdc++-v3/include/bits/regex.tcc @@ -500,7 +500,7 @@ namespace __detail typename _Rx_traits> bool 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) return true;