net: Denote some CNode functions const

pull/365/head
Pavlos Antoniou 8 years ago
parent 64beb13179
commit 5f672ca8c1

@ -711,7 +711,7 @@ public:
return nMyStartingHeight; return nMyStartingHeight;
} }
int GetRefCount() int GetRefCount() const
{ {
assert(nRefCount >= 0); assert(nRefCount >= 0);
return nRefCount; return nRefCount;
@ -723,7 +723,7 @@ public:
{ {
nRecvVersion = nVersionIn; nRecvVersion = nVersionIn;
} }
int GetRecvVersion() int GetRecvVersion() const
{ {
return nRecvVersion; return nRecvVersion;
} }

Loading…
Cancel
Save