Fixed cppcheck errors

This commit is contained in:
SChernykh
2023-05-10 10:35:23 +02:00
parent fa924171c7
commit 689fa14cfd
3 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -699,7 +699,7 @@ void P2PServer::update_peer_in_list(bool is_v6, const raw_ip& ip, int port)
}
}
void P2PServer::remove_peer_from_list(P2PClient* client)
void P2PServer::remove_peer_from_list(const P2PClient* client)
{
MutexLock lock(m_peerListLock);