commit | 54f6bd59f57150234f5d99d564c57a5c628e7ed6 | [log] [tgz] |
---|---|---|
author | Marshall Clow <mclow.lists@gmail.com> | Mon Jan 13 17:47:08 2014 +0000 |
committer | Marshall Clow <mclow.lists@gmail.com> | Mon Jan 13 17:47:08 2014 +0000 |
tree | 45b1ce528ecf6293856b5df1417140175f4dac19 | |
parent | 3a47244c94d3fb74a6b77fac8050b15898bc7780 [diff] [blame] |
Fix a bug in regex_token_iterator's copy constructor. Caught by Bob Wilson. llvm-svn: 199122
diff --git a/libcxx/include/regex b/libcxx/include/regex index f8569f9..b7416f8 100644 --- a/libcxx/include/regex +++ b/libcxx/include/regex
@@ -6288,7 +6288,7 @@ __subs_(__x.__subs_) { if (__x.__result_ == &__x.__suffix_) - __result_ == &__suffix_; + __result_ = &__suffix_; else if ( __result_ != nullptr ) __establish_result (); }