diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2014-01-13 17:47:08 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2014-01-13 17:47:08 +0000 |
commit | 54f6bd59f57150234f5d99d564c57a5c628e7ed6 (patch) | |
tree | 45b1ce528ecf6293856b5df1417140175f4dac19 | |
parent | 3a47244c94d3fb74a6b77fac8050b15898bc7780 (diff) | |
download | bcm5719-llvm-54f6bd59f57150234f5d99d564c57a5c628e7ed6.tar.gz bcm5719-llvm-54f6bd59f57150234f5d99d564c57a5c628e7ed6.zip |
Fix a bug in regex_token_iterator's copy constructor. Caught by Bob Wilson.
llvm-svn: 199122
-rw-r--r-- | libcxx/include/regex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/regex b/libcxx/include/regex index f8569f950bc..b7416f81c24 100644 --- a/libcxx/include/regex +++ b/libcxx/include/regex @@ -6288,7 +6288,7 @@ regex_token_iterator<_BidirectionalIterator, _CharT, _Traits>:: __subs_(__x.__subs_) { if (__x.__result_ == &__x.__suffix_) - __result_ == &__suffix_; + __result_ = &__suffix_; else if ( __result_ != nullptr ) __establish_result (); } |