Fixed Coverity errors
This commit is contained in:
+1
-1
@@ -178,7 +178,7 @@ void P2PServer::clear_cached_blocks()
|
||||
return;
|
||||
}
|
||||
|
||||
for (auto it : *m_cachedBlocks) {
|
||||
for (const auto& it : *m_cachedBlocks) {
|
||||
delete it.second;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user