net: Denote some CNode functions const
This commit is contained in:
parent
64beb13179
commit
5f672ca8c1
1 changed files with 2 additions and 2 deletions
|
@ -711,7 +711,7 @@ public:
|
|||
return nMyStartingHeight;
|
||||
}
|
||||
|
||||
int GetRefCount()
|
||||
int GetRefCount() const
|
||||
{
|
||||
assert(nRefCount >= 0);
|
||||
return nRefCount;
|
||||
|
@ -723,7 +723,7 @@ public:
|
|||
{
|
||||
nRecvVersion = nVersionIn;
|
||||
}
|
||||
int GetRecvVersion()
|
||||
int GetRecvVersion() const
|
||||
{
|
||||
return nRecvVersion;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue