Skip to content

Commit

Permalink
#674 Fix in push stream for gcc 13
Browse files Browse the repository at this point in the history
  • Loading branch information
pnoltes committed Feb 4, 2024
1 parent 70548d6 commit b4df54c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/pushstreams/api/celix/impl/BufferedPushStream.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ void celix::BufferedPushStream<T>::startWorker() {
std::weak_ptr<std::queue<std::unique_ptr<PushEvent<T>>>> weak{queue};
auto lk = weak.lock();
if (lk) {
std::unique_ptr<celix::PushEvent<T>> event = std::move(popQueue());
std::unique_ptr<celix::PushEvent<T>> event = popQueue();
while (event != nullptr) {
this->nextEvent.accept(*event);
event = std::move(popQueue());
event = popQueue();
}
cv.notify_all();
}
Expand Down

0 comments on commit b4df54c

Please sign in to comment.