This is an automated email from the ASF dual-hosted git repository.

pnoltes pushed a commit to branch feature/674-add-element-type-to-array-list
in repository https://gitbox.apache.org/repos/asf/celix.git

commit b4df54cc4626309d11b6e4337f9581d35c07dfac
Author: Pepijn Noltes <[email protected]>
AuthorDate: Sun Feb 4 19:05:47 2024 +0100

    #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 5172f42e..6a2d1e6f 100644
--- a/libs/pushstreams/api/celix/impl/BufferedPushStream.h
+++ b/libs/pushstreams/api/celix/impl/BufferedPushStream.h
@@ -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();
         }

Reply via email to