Skip to content

Commit b50f8f9

Browse files
committed
Fix initializer list order in <regex> to be correct
llvm-svn: 242864
1 parent a7c535b commit b50f8f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libcxx/include/regex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2952,7 +2952,7 @@ public:
29522952

29532953
_LIBCPP_INLINE_VISIBILITY
29542954
__lookahead(const basic_regex<_CharT, _Traits>& __exp, bool __invert, __node<_CharT>* __s, unsigned __mexp)
2955-
: base(__s), __exp_(__exp), __invert_(__invert), __mexp_(__mexp) {}
2955+
: base(__s), __exp_(__exp), __mexp_(__mexp), __invert_(__invert) {}
29562956

29572957
virtual void __exec(__state&) const;
29582958
};
@@ -5421,8 +5421,8 @@ match_results<_BidirectionalIterator, _Allocator>::match_results(
54215421
__unmatched_(),
54225422
__prefix_(),
54235423
__suffix_(),
5424-
__position_start_(),
5425-
__ready_(false)
5424+
__ready_(false),
5425+
__position_start_()
54265426
{
54275427
}
54285428

0 commit comments

Comments
 (0)