re PR libstdc++/63219 (Superfluous template parameter in match_result::format overload)
authorJonathan Wakely <jwakely@redhat.com>
Thu, 11 Sep 2014 10:01:20 +0000 (11:01 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 11 Sep 2014 10:01:20 +0000 (11:01 +0100)
commit8aed2f2f63cebce1fc0c9af95df68c2d7efc52a3
tree7c2a608dd2b5c67bf802eb639245882f076d5c05
parent21a16932df04c0745673815c29cd8fb52988f671
re PR libstdc++/63219 (Superfluous template parameter in match_result::format overload)

PR libstdc++/63219
* include/bits/regex.h (match_results::format): Remove stray template
parameter.
* include/bits/regex_compiler.h (_RegexTranslator::_RegexTranslator):
Remove parameter name to avoid -Wunused-parameter warning.
* include/bits/regex_executor.h (_State_info::_State_info): Reorder
mem-initializers to avoid -Wreorder warning.
* include/bits/regex_executor.tcc (_Executor::_M_word_boundary):
Remove parameter name to avoid -Wunused-parameter warning.
* include/bits/regex_scanner.tcc (_Scanner::_M_advance): Add braces
to avoid -Wempty-body warning when not in debug mode.

From-SVN: r215160
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/regex.h
libstdc++-v3/include/bits/regex_compiler.h
libstdc++-v3/include/bits/regex_executor.h
libstdc++-v3/include/bits/regex_executor.tcc
libstdc++-v3/include/bits/regex_scanner.tcc