libstdc++: Fix uses of _M_current in split_view's outer iterator
authorJonathan Wakely <jwakely@redhat.com>
Tue, 10 Mar 2020 22:15:58 +0000 (22:15 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 10 Mar 2020 22:15:58 +0000 (22:15 +0000)
commit0b7f1e24316cfc1f85408918d1734d3266d65089
tree51cd6058b26ff61d257c7d0bbdb4b34a072208aa
parentb269a014771776f860730874095dffb34839a466
libstdc++: Fix uses of _M_current in split_view's outer iterator

These direct uses of _M_current should all be __current() so they are
valid when the base type doesn't satisfy the forward_range concept.

* include/std/ranges (split_view::_OuterIter::__at_end): Use __current
instead of _M_current.
(split_view::_OuterIter::operator++): Likewise.
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/ranges