We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 098b01d + 5f672ca commit 400fdd0Copy full SHA for 400fdd0
src/net.h
@@ -711,7 +711,7 @@ class CNode
711
return nMyStartingHeight;
712
}
713
714
- int GetRefCount()
+ int GetRefCount() const
715
{
716
assert(nRefCount >= 0);
717
return nRefCount;
@@ -723,7 +723,7 @@ class CNode
723
724
nRecvVersion = nVersionIn;
725
726
- int GetRecvVersion()
+ int GetRecvVersion() const
727
728
return nRecvVersion;
729
0 commit comments