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
diff --git a/include/numeric b/include/numeric
index 4ca62e8..c201a5f 100644
--- a/include/numeric
+++ b/include/numeric
@@ -186,10 +186,10 @@
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