From 7cc7106776b89f462a143ff1762855b2b3455bc3 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Wed, 22 Jul 2015 01:29:41 +0000 Subject: [PATCH] Fix initializer list order in to be correct git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@242864 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/regex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/regex b/include/regex index f8e57f42c..6ac5e1da8 100644 --- a/include/regex +++ b/include/regex @@ -2952,7 +2952,7 @@ public: _LIBCPP_INLINE_VISIBILITY __lookahead(const basic_regex<_CharT, _Traits>& __exp, bool __invert, __node<_CharT>* __s, unsigned __mexp) - : base(__s), __exp_(__exp), __invert_(__invert), __mexp_(__mexp) {} + : base(__s), __exp_(__exp), __mexp_(__mexp), __invert_(__invert) {} virtual void __exec(__state&) const; }; @@ -5421,8 +5421,8 @@ match_results<_BidirectionalIterator, _Allocator>::match_results( __unmatched_(), __prefix_(), __suffix_(), - __position_start_(), - __ready_(false) + __ready_(false), + __position_start_() { }