diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2018-06-26 13:24:47 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2018-06-26 13:24:47 +0100 |
commit | 3da2f26ca45060ddd8514010090353a2adec334a (patch) | |
tree | aea1425d2b788b6994348dbbc727003de73cd581 /libstdc++-v3/include/bits/regex.tcc | |
parent | 4723f0fb4ec50e716da4e1e19909cdc735fadcbb (diff) | |
download | gcc-3da2f26ca45060ddd8514010090353a2adec334a.zip gcc-3da2f26ca45060ddd8514010090353a2adec334a.tar.gz gcc-3da2f26ca45060ddd8514010090353a2adec334a.tar.bz2 |
Add missing noexcept on definition to match declaration
* include/bits/regex.tcc (regex_iterator::operator==): Add missing
noexcept.
From-SVN: r262146
Diffstat (limited to 'libstdc++-v3/include/bits/regex.tcc')
-rw-r--r-- | libstdc++-v3/include/bits/regex.tcc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/bits/regex.tcc b/libstdc++-v3/include/bits/regex.tcc index b92edb9..dcf6609 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; |