Fixed a new cppcheck issue

This commit is contained in:
SChernykh 2022-05-31 16:51:09 +02:00
parent b713f4e702
commit c203f6eb0a

View file

@ -167,7 +167,7 @@ SideChain::~SideChain()
uv_mutex_destroy(&m_seenWalletsLock); uv_mutex_destroy(&m_seenWalletsLock);
uv_mutex_destroy(&m_seenBlocksLock); uv_mutex_destroy(&m_seenBlocksLock);
uv_rwlock_destroy(&m_curDifficultyLock); uv_rwlock_destroy(&m_curDifficultyLock);
for (auto& it : m_blocksById) { for (const auto& it : m_blocksById) {
delete it.second; delete it.second;
} }
} }