Browse Source

net: Denote some CNode functions const

0.15
Pavlos Antoniou 8 years ago
parent
commit
5f672ca8c1
  1. 4
      src/net.h

4
src/net.h

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

Loading…
Cancel
Save