mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
Don't declare de facto const member functions as non-const
This commit is contained in:
@@ -1216,7 +1216,7 @@ void CConnman::NotifyNumConnectionsChanged()
|
||||
}
|
||||
}
|
||||
|
||||
void CConnman::InactivityCheck(CNode *pnode)
|
||||
void CConnman::InactivityCheck(CNode *pnode) const
|
||||
{
|
||||
int64_t nTime = GetSystemTimeInSeconds();
|
||||
if (nTime - pnode->nTimeConnected > m_peer_connect_timeout)
|
||||
|
||||
Reference in New Issue
Block a user