From b4df54cc4626309d11b6e4337f9581d35c07dfac Mon Sep 17 00:00:00 2001 From: Pepijn Noltes Date: Sun, 4 Feb 2024 19:05:47 +0100 Subject: [PATCH] #674 Fix in push stream for gcc 13 --- libs/pushstreams/api/celix/impl/BufferedPushStream.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/pushstreams/api/celix/impl/BufferedPushStream.h b/libs/pushstreams/api/celix/impl/BufferedPushStream.h index 5172f42ed..6a2d1e6fd 100644 --- a/libs/pushstreams/api/celix/impl/BufferedPushStream.h +++ b/libs/pushstreams/api/celix/impl/BufferedPushStream.h @@ -98,10 +98,10 @@ void celix::BufferedPushStream::startWorker() { std::weak_ptr>>> weak{queue}; auto lk = weak.lock(); if (lk) { - std::unique_ptr> event = std::move(popQueue()); + std::unique_ptr> event = popQueue(); while (event != nullptr) { this->nextEvent.accept(*event); - event = std::move(popQueue()); + event = popQueue(); } cv.notify_all(); }