Remove several unused forward declarations. Fixes PR22605.
llvm-svn: 229728
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: 7c78beac5dd1915a483571a87bce3783102e0c02
diff --git a/include/iterator b/include/iterator
index 05d7412..04ff4c1 100644
--- a/include/iterator
+++ b/include/iterator
@@ -1112,8 +1112,6 @@
>::type
__unwrap_iter(__wrap_iter<_Tp*>);
-template <class _Tp, class _Alloc> class _LIBCPP_TYPE_VIS_ONLY vector;
-
template <class _Iter>
class __wrap_iter
{
@@ -1243,7 +1241,7 @@
template <class _Up> friend class __wrap_iter;
template <class _CharT, class _Traits, class _Alloc> friend class basic_string;
- template <class _Tp, class _Alloc> friend class vector;
+ template <class _Tp, class _Alloc> friend class _LIBCPP_TYPE_VIS_ONLY vector;
template <class _Iter1, class _Iter2>
friend