aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2020-01-29 13:57:58 -0800
committerPieter Wuille <pieter.wuille@gmail.com>2020-01-31 14:51:37 -0800
commit6f8c93731203c111f86c39eaf2102f9a825d1706 (patch)
treeb38ea9134449d20414f492871a88eb8d2729d2a1 /src/net.h
parentd58bcdc4b569a667b6974c3547b7ff6f665afce9 (diff)
Mark asmap const in statistics code
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 92f7799e97..819947658a 100644
--- a/src/net.h
+++ b/src/net.h
@@ -983,7 +983,7 @@ public:
void CloseSocketDisconnect();
- void copyStats(CNodeStats &stats, std::vector<bool> &m_asmap);
+ void copyStats(CNodeStats &stats, const std::vector<bool> &m_asmap);
ServiceFlags GetLocalServices() const
{