From 7371f512aef0bddd749439bd939fe84cee19e691 Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Wed, 10 Dec 2025 00:58:17 +0300 Subject: [PATCH] fix: add `mutable` to make the captured `work` non-const, allowing it to be properly moved --- src/llmq/signing_shares.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/llmq/signing_shares.cpp b/src/llmq/signing_shares.cpp index e61a12283a70..382f7aef43d2 100644 --- a/src/llmq/signing_shares.cpp +++ b/src/llmq/signing_shares.cpp @@ -1668,7 +1668,7 @@ void CSigSharesManager::DispatchPendingSigns() for (auto& work : signs) { if (workInterrupt) break; - workerPool.push([this, work = std::move(work)](int) { + workerPool.push([this, work = std::move(work)](int) mutable { SignAndProcessSingleShare(std::move(work)); }); }