diff options
author | Eric Fiselier <eric@efcs.ca> | 2015-07-22 01:29:41 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2015-07-22 01:29:41 +0000 |
commit | b50f8f9ee7cd7dd9442d95f5316ed2868df90348 (patch) | |
tree | 96f8eed244c62915c8ba02c154955c0070d7cc40 /libcxx/include/regex | |
parent | a7c535b3c1947edf8e9c426e5116cec781ec67f1 (diff) | |
download | bcm5719-llvm-b50f8f9ee7cd7dd9442d95f5316ed2868df90348.tar.gz bcm5719-llvm-b50f8f9ee7cd7dd9442d95f5316ed2868df90348.zip |
Fix initializer list order in <regex> to be correct
llvm-svn: 242864
Diffstat (limited to 'libcxx/include/regex')
-rw-r--r-- | libcxx/include/regex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/include/regex b/libcxx/include/regex index f8e57f42c83..6ac5e1da8c2 100644 --- a/libcxx/include/regex +++ b/libcxx/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_() { } |