From 4b1c077b4ad94f3008218e23df0d797497ce8223 Mon Sep 17 00:00:00 2001 From: SChernykh <15806605+SChernykh@users.noreply.github.com> Date: Fri, 9 Aug 2024 13:04:29 +0200 Subject: [PATCH] Fixed Coverity error --- src/p2pool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p2pool.cpp b/src/p2pool.cpp index 966eb37..dee34e2 100644 --- a/src/p2pool.cpp +++ b/src/p2pool.cpp @@ -1042,7 +1042,7 @@ void p2pool::download_block_headers(uint64_t current_height) { WriteLock lock(m_mergeMiningClientsLock); - m_mergeMiningClients = merge_mining_clients; + m_mergeMiningClients = std::move(merge_mining_clients); } m_startupFinished = true;