Commit 071f228f by Jonathan Wakely Committed by Jonathan Wakely

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
parent e735008b
2017-12-01 Jonathan Wakely <jwakely@redhat.com> 2017-12-01 Jonathan Wakely <jwakely@redhat.com>
* 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 * include/tr1/modified_bessel_func.tcc (__airy): Use value-init not
list-init. list-init.
......
...@@ -170,7 +170,7 @@ namespace __detail ...@@ -170,7 +170,7 @@ namespace __detail
// visited more than twice. It's `twice` instead of `once` because // visited more than twice. It's `twice` instead of `once` because
// we need to spare one more time for potential group capture. // we need to spare one more time for potential group capture.
template<typename _BiIter, typename _Alloc, typename _TraitsT, template<typename _BiIter, typename _Alloc, typename _TraitsT,
bool __dfs_mode> bool __dfs_mode>
void _Executor<_BiIter, _Alloc, _TraitsT, __dfs_mode>:: void _Executor<_BiIter, _Alloc, _TraitsT, __dfs_mode>::
_M_rep_once_more(_Match_mode __match_mode, _StateIdT __i) _M_rep_once_more(_Match_mode __match_mode, _StateIdT __i)
{ {
...@@ -193,7 +193,7 @@ namespace __detail ...@@ -193,7 +193,7 @@ namespace __detail
__rep_count.second--; __rep_count.second--;
} }
} }
}; }
// _M_alt branch is "match once more", while _M_next is "get me out // _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 // of this quantifier". Executing _M_next first or _M_alt first don't
......
...@@ -46,7 +46,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -46,7 +46,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
_Power_of_2(_Tp __x) _Power_of_2(_Tp __x)
{ {
return ((__x - 1) & __x) == 0; return ((__x - 1) & __x) == 0;
}; }
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment