Fixed cppcheck error

pull/297/head
SChernykh 2023-12-08 09:38:22 +01:00
parent eb1fd155a3
commit 2e3d042d60
1 changed files with 1 additions and 1 deletions

View File

@ -1434,7 +1434,7 @@ void P2PServer::P2PClient::reset()
bool P2PServer::P2PClient::on_connect()
{
P2PServer* server = static_cast<P2PServer*>(m_owner);
const P2PServer* server = static_cast<P2PServer*>(m_owner);
if (!server) {
return false;