mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-02-02 18:24:25 +00:00
Merge #10471: Denote functions CNode::GetRecvVersion() and CNode::GetRefCount() as const
5f672ca8c net: Denote some CNode functions const (Pavlos Antoniou) Tree-SHA512: f6d13d8002a4145fd87b34b35a739284e4a9b1af834bba109d324eccddb684eccb817553ba76102eb5b5819cab37f938b4ba74fdbda7c5386d00747b3024cd81
This commit is contained in:
commit
400fdd08cc
@ -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…
x
Reference in New Issue
Block a user