Author: marshall
Date: Mon Jan 13 11:47:08 2014
New Revision: 199122
URL: http://llvm.org/viewvc/llvm-project?rev=199122&view=rev
Log:
Fix a bug in regex_token_iterator's copy constructor. Caught by Bob Wilson.
Modified:
libcxx/trunk/include/regex
Modified: libcxx/trunk/include/regex
URL:
http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/regex?rev=199122&r1=199121&r2=199122&view=diff
==============================================================================
--- libcxx/trunk/include/regex (original)
+++ libcxx/trunk/include/regex Mon Jan 13 11:47:08 2014
@@ -6288,7 +6288,7 @@ regex_token_iterator<_BidirectionalItera
__subs_(__x.__subs_)
{
if (__x.__result_ == &__x.__suffix_)
- __result_ == &__suffix_;
+ __result_ = &__suffix_;
else if ( __result_ != nullptr )
__establish_result ();
}
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits