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 | 78b6828f1420a266e02687685bc2ab993a54eadd (patch) | |
tree | 7a4347733e3f72a22e656337356307652ab967e3 /include/numeric | |
parent | f46fc939cbcb2e2287575fd19b4ee01430591229 (diff) | |
download | external_libcxx-78b6828f1420a266e02687685bc2ab993a54eadd.tar.gz external_libcxx-78b6828f1420a266e02687685bc2ab993a54eadd.tar.bz2 external_libcxx-78b6828f1420a266e02687685bc2ab993a54eadd.zip |
More windows port work by Ruben Van Boxem
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@142732 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/numeric')
-rw-r--r-- | include/numeric | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/numeric b/include/numeric index 4ca62e8eb..c201a5f57 100644 --- a/include/numeric +++ b/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 |