From: Jonathan Wakely Date: Fri, 1 Dec 2017 15:10:09 +0000 (+0000) Subject: Remove stray semi-colons at namespace scope X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=071f228fa3aa83d24c465fe402732856c1246624;p=gcc.git Remove stray semi-colons at namespace scope * include/bits/regex_executor.tcc (_Executor::_M_rep_once_more): Remove semi-colon after function body. * include/bits/uniform_int_dist.h (_Power_of_2): Likewise. From-SVN: r255314 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index e2dac201d41..1f138d7f1f5 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,9 @@ 2017-12-01 Jonathan Wakely + * include/bits/regex_executor.tcc (_Executor::_M_rep_once_more): + Remove semi-colon after function body. + * include/bits/uniform_int_dist.h (_Power_of_2): Likewise. + * include/tr1/modified_bessel_func.tcc (__airy): Use value-init not list-init. diff --git a/libstdc++-v3/include/bits/regex_executor.tcc b/libstdc++-v3/include/bits/regex_executor.tcc index 2ceba35e7b8..008ffa0e836 100644 --- a/libstdc++-v3/include/bits/regex_executor.tcc +++ b/libstdc++-v3/include/bits/regex_executor.tcc @@ -170,7 +170,7 @@ namespace __detail // visited more than twice. It's `twice` instead of `once` because // we need to spare one more time for potential group capture. template + bool __dfs_mode> void _Executor<_BiIter, _Alloc, _TraitsT, __dfs_mode>:: _M_rep_once_more(_Match_mode __match_mode, _StateIdT __i) { @@ -193,7 +193,7 @@ namespace __detail __rep_count.second--; } } - }; + } // _M_alt branch is "match once more", while _M_next is "get me out // of this quantifier". Executing _M_next first or _M_alt first don't diff --git a/libstdc++-v3/include/bits/uniform_int_dist.h b/libstdc++-v3/include/bits/uniform_int_dist.h index 16509c4ef8a..c64c02c245e 100644 --- a/libstdc++-v3/include/bits/uniform_int_dist.h +++ b/libstdc++-v3/include/bits/uniform_int_dist.h @@ -46,7 +46,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION _Power_of_2(_Tp __x) { return ((__x - 1) & __x) == 0; - }; + } } /**