mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-12-22 19:39:22 +00:00
Fixed cppcheck error
This commit is contained in:
parent
eb1fd155a3
commit
2e3d042d60
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue