aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2021-08-24 11:40:21 +0100
committerJohn Newbery <john@johnnewbery.com>2021-08-27 10:55:44 +0100
commitf9002cb5dbd573cd9ca200de21319fa296e26055 (patch)
tree08b1018f1337809756e86afba92af4f224249c6f /src/net.h
parentf572f2b2048994b3b50f4cfd5de19e40b1acfb22 (diff)
downloadbitcoin-f9002cb5dbd573cd9ca200de21319fa296e26055.tar.xz
[net] Rename the copyStats arg from m_asmap to asmap
The m_ prefix indicates that a variable is a data member. Using it as a parameter name is misleading. Also update the name of the function from copyStats to CopyStats to comply with our style guide.
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index 316425e677..2d9c29a05e 100644
--- a/src/net.h
+++ b/src/net.h
@@ -651,7 +651,7 @@ public:
void CloseSocketDisconnect();
- void copyStats(CNodeStats &stats, const std::vector<bool> &m_asmap);
+ void CopyStats(CNodeStats& stats, const std::vector<bool>& asmap);
ServiceFlags GetLocalServices() const
{