Fixed Coverity errors

This commit is contained in:
SChernykh
2024-06-23 23:51:47 +02:00
parent a75cf652de
commit 24f2ed2f81
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -178,7 +178,7 @@ void P2PServer::clear_cached_blocks()
return;
}
for (auto it : *m_cachedBlocks) {
for (const auto& it : *m_cachedBlocks) {
delete it.second;
}