Skip to content

Commit

Permalink
Merge branch 'v0.21'
Browse files Browse the repository at this point in the history
  • Loading branch information
paullouisageneau committed Jul 2, 2024
2 parents 0f7985f + ed9a328 commit 07bcbe7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/impl/queue.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ template <typename T> optional<T> Queue<T>::pop() {
mAmount -= mAmountFunction(mQueue.front());
optional<T> element{std::move(mQueue.front())};
mQueue.pop();
mPushCondition.notify_one();
return element;
}

Expand Down

0 comments on commit 07bcbe7

Please sign in to comment.