diff options
author | Howard Hinnant <hhinnant@apple.com> | 2011-10-22 20:59:45 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2011-10-22 20:59:45 +0000 |
commit | e4383379aea7783e11f2229f27fa81b52751e4f4 (patch) | |
tree | 4f369dabb74c0a9b6d1059d801b4e41607e2157d /libcxx/include/numeric | |
parent | a6674c7fc965ef39b97d2faf518587e02cc23d56 (diff) | |
download | bcm5719-llvm-e4383379aea7783e11f2229f27fa81b52751e4f4.tar.gz bcm5719-llvm-e4383379aea7783e11f2229f27fa81b52751e4f4.zip |
More windows port work by Ruben Van Boxem
llvm-svn: 142732
Diffstat (limited to 'libcxx/include/numeric')
-rw-r--r-- | libcxx/include/numeric | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/include/numeric b/libcxx/include/numeric index 4ca62e8eb64..c201a5f57cb 100644 --- a/libcxx/include/numeric +++ b/libcxx/include/numeric @@ -186,10 +186,10 @@ adjacent_difference(_InputIterator __first, _InputIterator __last, _OutputIterat template <class _ForwardIterator, class _Tp> inline _LIBCPP_INLINE_VISIBILITY void -iota(_ForwardIterator __first, _ForwardIterator __last, _Tp __value) +iota(_ForwardIterator __first, _ForwardIterator __last, _Tp __value_) { - for (; __first != __last; ++__first, ++__value) - *__first = __value; + for (; __first != __last; ++__first, ++__value_) + *__first = __value_; } _LIBCPP_END_NAMESPACE_STD |