Skip to content

Commit 6d452de

Browse files
Lokimedtheodelrieu
authored andcommitted
fix wait_push_back with rvalue
1 parent 064585d commit 6d452de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/boost/thread/concurrent_queues/sync_bounded_queue.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ namespace concurrent
655655
queue_op_status sync_bounded_queue<ValueType>::wait_push_back(BOOST_THREAD_RV_REF(ValueType) elem)
656656
{
657657
unique_lock<mutex> lk(mtx_);
658-
return try_push_back(boost::move(elem), lk);
658+
return wait_push_back(boost::move(elem), lk);
659659
}
660660

661661

0 commit comments

Comments
 (0)