diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2020-12-06 15:51:22 +0000 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2020-12-06 18:44:25 +0000 |
commit | 1c65c075ee4c7f98d9c1fac5ed7576b96374d4e9 (patch) | |
tree | 6bbc3ecd15d74450843b7049414b0c1950182c4b /src/net.cpp | |
parent | 64156ad4d1f50daf35250dc3b329a8a595594d87 (diff) |
Don't declare de facto const member functions as non-const
Diffstat (limited to 'src/net.cpp')
-rw-r--r-- | src/net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp index 9c6d7b6375..8ddbcf5d33 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -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) |