Skip to content

Commit 07bcbe7

Browse files
Merge branch 'v0.21'
2 parents 0f7985f + ed9a328 commit 07bcbe7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/impl/queue.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ template <typename T> optional<T> Queue<T>::pop() {
105105
mAmount -= mAmountFunction(mQueue.front());
106106
optional<T> element{std::move(mQueue.front())};
107107
mQueue.pop();
108+
mPushCondition.notify_one();
108109
return element;
109110
}
110111

0 commit comments

Comments
 (0)