diff options
| author | Pavlos Antoniou <[email protected]> | 2017-06-01 17:21:03 +0200 |
|---|---|---|
| committer | Pavlos Antoniou <[email protected]> | 2017-06-01 17:21:03 +0200 |
| commit | 5f672ca8c134181a6e7afc0c5036df01b8f7ae28 (patch) | |
| tree | dabfa195b7177e4b58edf607fa5febd41dbaf4f3 /src | |
| parent | Merge #10449: Overhaul Qt fee bumper (diff) | |
| download | discoin-5f672ca8c134181a6e7afc0c5036df01b8f7ae28.tar.xz discoin-5f672ca8c134181a6e7afc0c5036df01b8f7ae28.zip | |
net: Denote some CNode functions const
Diffstat (limited to 'src')
| -rw-r--r-- | src/net.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |