Skip to content

Commit 320e0e1

Browse files
Fix error: '__outer_iterator' redeclared with 'public' access
Fixes the following compilation error: ``` $(SOURCE_ROOT)/contrib/libs/cxxsupp/libcxx/include/__ranges/lazy_split_view.h:143:10: error: '__outer_iterator' redeclared with 'public' access 143 | struct __outer_iterator : __outer_iterator_category<__maybe_const<_Const, _View>> { | ^ $(SOURCE_ROOT)/contrib/libs/cxxsupp/libcxx/include/__ranges/lazy_split_view.h:79:10: note: previously declared 'private' here 79 | struct __outer_iterator; ```
1 parent 0efc083 commit 320e0e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libcxx/include/__ranges/lazy_split_view.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ class lazy_split_view : public view_interface<lazy_split_view<_View, _Pattern>>
7676
_If<!forward_range<_View>, __non_propagating_cache<iterator_t<_View>>, __empty_cache>;
7777
_LIBCPP_NO_UNIQUE_ADDRESS _MaybeCurrent __current_ = _MaybeCurrent();
7878

79+
private:
7980
template <bool>
8081
struct __outer_iterator;
8182
template <bool>

0 commit comments

Comments
 (0)