commit | 72fe0ae7cf1df57601c63178fe5a46b32c3cb527 | [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 | 538f4812b3b443145d16b9f7f3865c185c151522 | |
parent | 0efd9dcfa0ae0488b2606c06a7f9609f5c36ec6e [diff] [blame] |
Fix a bug in regex_token_iterator's copy constructor. Caught by Bob Wilson. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@199122 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/regex b/include/regex index f8569f9..b7416f8 100644 --- a/include/regex +++ b/include/regex
@@ -6288,7 +6288,7 @@ __subs_(__x.__subs_) { if (__x.__result_ == &__x.__suffix_) - __result_ == &__suffix_; + __result_ = &__suffix_; else if ( __result_ != nullptr ) __establish_result (); }