Fixed cppcheck error

This commit is contained in:
SChernykh 2023-12-08 09:38:22 +01:00
parent eb1fd155a3
commit 2e3d042d60

View file

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