Chris Jefferson noted many places where function calls needed to be qualified (thanks Chris).
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@125510 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/iterator b/include/iterator
index 8bb811f..ec7a12b 100644
--- a/include/iterator
+++ b/include/iterator
@@ -488,7 +488,7 @@
typename iterator_traits<_ForwardIter>::difference_type __n = 1,
typename enable_if<__is_forward_iterator<_ForwardIter>::value>::type* = 0)
{
- advance(__x, __n);
+ _STD::advance(__x, __n);
return __x;
}
@@ -499,7 +499,7 @@
typename iterator_traits<_BidiretionalIter>::difference_type __n = 1,
typename enable_if<__is_bidirectional_iterator<_BidiretionalIter>::value>::type* = 0)
{
- advance(__x, -__n);
+ _STD::advance(__x, -__n);
return __x;
}