From 6f8c93731203c111f86c39eaf2102f9a825d1706 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Wed, 29 Jan 2020 13:57:58 -0800 Subject: Mark asmap const in statistics code --- src/net.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net.h') 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 &m_asmap); + void copyStats(CNodeStats &stats, const std::vector &m_asmap); ServiceFlags GetLocalServices() const { -- cgit v1.2.3