Skip to content

Commit f075a12

Browse files
refactor: use non-const reference for pQuorum in quorum iteration loop to allow moves
1 parent aa26747 commit f075a12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/llmq/quorums.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ void CQuorumManager::TriggerQuorumDataRecoveryThreads(CConnman& connman, const C
266266
return pQuorum->IsValidMember(proTxHash);
267267
});
268268

269-
for (const auto& pQuorum : vecQuorums) {
269+
for (auto& pQuorum : vecQuorums) {
270270
// If there is already a thread running for this specific quorum skip it
271271
if (pQuorum->fQuorumDataRecoveryThreadRunning) {
272272
continue;

0 commit comments

Comments
 (0)