summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/bits/regex_automaton.h
diff options
context:
space:
mode:
authorTim Shen <timshen91@gmail.com>2013-10-17 20:46:50 +0000
committerTim Shen <timshen@gcc.gnu.org>2013-10-17 20:46:50 +0000
commitab1c993b94cc09cf569f75c34c943f6e695a0ec3 (patch)
tree77c6c62f2454b98891ae2a05692b8bb9114f3b8d /libstdc++-v3/include/bits/regex_automaton.h
parent358e1993d0b76b2643aee7565e2c5aef38a369ae (diff)
downloadgcc-ab1c993b94cc09cf569f75c34c943f6e695a0ec3.tar.gz
regex.h (regex_token_iterator<>::regex_token_iterator): Fix initialization orders in initialization list and add explicit braces for...
2013-10-17 Tim Shen <timshen91@gmail.com> * include/bits/regex.h (regex_token_iterator<>::regex_token_iterator): Fix initialization orders in initialization list and add explicit braces for potentially ambiguous(actually not) `else` branch to eliminate warnings. * include/bits/regex_automaton.h (_NFA<>::_NFA): Likewise. * include/bits/regex_compiler.h (_CharMatcher<>::_CharMatcher, _BracketMatcher<>::_BracketMatcher): Likewise. * include/bits/regex_compiler.tcc (_Compiler<>::_Compiler, _Compiler<>::_M_atom): Likewise. * include/bits/regex_executor.h (_Executor<>::_Executor): Likewise. * include/bits/regex_executor.tcc (_DFSExecutor<>::_M_dfs, _Executor<>::_M_word_boundry): Likewise. * include/bits/regex_scanner.tcc (_Scanner<>::_Scanner, _Scanner<>::_M_eat_class): Likewise. * include/bits/regex.tcc (__regex_algo_impl<>, regex_iterator<>::operator++): Likewise, and remove unused typedef. From-SVN: r203798
Diffstat (limited to 'libstdc++-v3/include/bits/regex_automaton.h')
-rw-r--r--libstdc++-v3/include/bits/regex_automaton.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/bits/regex_automaton.h b/libstdc++-v3/include/bits/regex_automaton.h
index 35cfc1be92f..cb944990b49 100644
--- a/libstdc++-v3/include/bits/regex_automaton.h
+++ b/libstdc++-v3/include/bits/regex_automaton.h
@@ -138,7 +138,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
_NFA(_FlagT __f)
: _M_flags(__f), _M_start_state(0), _M_subexpr_count(0),
- _M_has_backref(false), _M_quant_count(0)
+ _M_quant_count(0), _M_has_backref(false)
{ }
_FlagT