Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2011-10-12 01:28:38 +0400
committerHoward Hinnant <hhinnant@apple.com>2011-10-12 01:28:38 +0400
commit7ba930bfcaa669c3b94dc98160bda2f7ac40cba5 (patch)
treedae5b29d829d7f502c9adebea1fe4782581b78cd /libcxx/include/iterator
parent1a761dcfbdda63e2159b5d697049aaf62c6374c5 (diff)
Fix http://llvm.org/bugs/show_bug.cgi?id=11113
llvm-svn: 141714
Diffstat (limited to 'libcxx/include/iterator')
-rw-r--r--libcxx/include/iterator4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/iterator b/libcxx/include/iterator
index 05019fddcefe..97ff78722cfe 100644
--- a/libcxx/include/iterator
+++ b/libcxx/include/iterator
@@ -1035,7 +1035,7 @@ operator-(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&) _NOEXCEPT;
template <class _Iter>
__wrap_iter<_Iter>
-operator+(typename __wrap_iter<_Iter>::difference_type, const __wrap_iter<_Iter>&) _NOEXCEPT;
+operator+(typename __wrap_iter<_Iter>::difference_type, __wrap_iter<_Iter>) _NOEXCEPT;
template <class _I, class _O> _O copy(_I, _I, _O);
template <class _B1, class _B2> _B2 copy_backward(_B1, _B1, _B2);
@@ -1208,7 +1208,7 @@ private:
template <class _Iter1>
friend
__wrap_iter<_Iter1>
- operator+(typename __wrap_iter<_Iter1>::difference_type, const __wrap_iter<_Iter1>&) _NOEXCEPT;
+ operator+(typename __wrap_iter<_Iter1>::difference_type, __wrap_iter<_Iter1>) _NOEXCEPT;
template <class _I, class _O> friend _O copy(_I, _I, _O);
template <class _B1, class _B2> friend _B2 copy_backward(_B1, _B1, _B2);