On Fri, May 10, 2013 at 2:16 AM, Marshall Clow <[email protected]> wrote:
> Author: marshall > Date: Thu May 9 19:16:10 2013 > New Revision: 181569 > > URL: http://llvm.org/viewvc/llvm-project?rev=181569&view=rev > Log: > Fix incorrect type usage; nice catch by Sebastian > Test case please? > > Modified: > libcxx/trunk/include/algorithm > > Modified: libcxx/trunk/include/algorithm > URL: > http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/algorithm?rev=181569&r1=181568&r2=181569&view=diff > > ============================================================================== > --- libcxx/trunk/include/algorithm (original) > +++ libcxx/trunk/include/algorithm Thu May 9 19:16:10 2013 > @@ -1301,7 +1301,7 @@ __not_done: > _D1 __l1 = _VSTD::distance(__first1, __last1); > > typedef typename iterator_traits<_ForwardIterator2>::difference_type > _D2; > - _D1 __l2 = _VSTD::distance(__first2, __last2); > + _D2 __l2 = _VSTD::distance(__first2, __last2); > if (__l1 != __l2) > return false; > > > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
