commit | fce85ba455fc87df85e048588506b38fa436eb63 | [log] [tgz] |
---|---|---|
author | Marshall Clow <mclow@qualcomm.com> | Fri May 10 00:16:10 2013 +0000 |
committer | Marshall Clow <mclow@qualcomm.com> | Fri May 10 00:16:10 2013 +0000 |
tree | 40ee1b22d8ac09cbb3dacde19bbde77ea4fa273c | |
parent | d95656e0b5f87c44aecc1504a9eb1aea384e0909 [diff] [blame] |
Fix incorrect type usage; nice catch by Sebastian llvm-svn: 181569
diff --git a/libcxx/include/algorithm b/libcxx/include/algorithm index f7e26cf..703a9b3 100644 --- a/libcxx/include/algorithm +++ b/libcxx/include/algorithm
@@ -1301,7 +1301,7 @@ _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;