Skip to content

Commit c08aa27

Browse files
Kojoleyolk
authored andcommitted
Missed begin/end. Follow-up to PR#43
I did not notice that begin/end indirectly uses range_begin/range_end.
1 parent 9ba7eea commit c08aa27

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

include/boost/coroutine/asymmetric_coroutine.hpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2325,32 +2325,32 @@ struct coroutine
23252325
template< typename R >
23262326
typename pull_coroutine< R >::iterator
23272327
begin( pull_coroutine< R > & c)
2328-
{ return boost::begin( c); }
2328+
{ return coroutines::range_begin( c); }
23292329

23302330
template< typename R >
23312331
typename pull_coroutine< R >::const_iterator
23322332
begin( pull_coroutine< R > const& c)
2333-
{ return boost::begin( c); }
2333+
{ return coroutines::range_begin( c); }
23342334

23352335
template< typename R >
23362336
typename pull_coroutine< R >::iterator
23372337
end( pull_coroutine< R > & c)
2338-
{ return boost::end( c); }
2338+
{ return coroutines::range_end( c); }
23392339

23402340
template< typename R >
23412341
typename pull_coroutine< R >::const_iterator
23422342
end( pull_coroutine< R > const& c)
2343-
{ return boost::end( c); }
2343+
{ return coroutines::range_end( c); }
23442344

23452345
template< typename R >
23462346
typename push_coroutine< R >::iterator
23472347
begin( push_coroutine< R > & c)
2348-
{ return boost::begin( c); }
2348+
{ return coroutines::range_begin( c); }
23492349

23502350
template< typename R >
23512351
typename push_coroutine< R >::iterator
23522352
end( push_coroutine< R > & c)
2353-
{ return boost::end( c); }
2353+
{ return coroutines::range_end( c); }
23542354

23552355
}
23562356

0 commit comments

Comments
 (0)