File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,7 +63,6 @@ struct shared_state_base {
6363#include < boost/enable_shared_from_this.hpp>
6464#include < boost/exception_ptr.hpp>
6565#include < boost/function.hpp>
66- #include < boost/next_prior.hpp>
6766#include < boost/scoped_array.hpp>
6867#include < boost/shared_ptr.hpp>
6968#include < boost/smart_ptr/make_shared.hpp>
Original file line number Diff line number Diff line change 1717#include < boost/thread/condition_variable.hpp>
1818
1919#include < boost/core/enable_if.hpp>
20- #include < boost/next_prior.hpp>
2120#include < boost/scoped_array.hpp>
2221
2322#include < iterator>
@@ -155,7 +154,9 @@ namespace boost
155154 {
156155 waiter.add (*current);
157156 }
158- return boost::next (begin, waiter.wait ());
157+
158+ std::advance ( begin, waiter.wait () );
159+ return begin;
159160 }
160161}
161162
You can’t perform that action at this time.
0 commit comments