aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorPavlos Antoniou <antoniou-p@hotmail.com>2017-06-01 17:21:03 +0200
committerPavlos Antoniou <antoniou-p@hotmail.com>2017-06-01 17:21:03 +0200
commit5f672ca8c134181a6e7afc0c5036df01b8f7ae28 (patch)
treedabfa195b7177e4b58edf607fa5febd41dbaf4f3 /src/net.h
parent64beb13179124efbe6896a0441d1a9d8adfaf706 (diff)
downloadbitcoin-5f672ca8c134181a6e7afc0c5036df01b8f7ae28.tar.xz
net: Denote some CNode functions const
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net.h b/src/net.h
index 7f9ec1a57b..00d04e9914 100644
--- a/src/net.h
+++ b/src/net.h
@@ -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;
}