File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -628,7 +628,7 @@ void CNode::SetAddrLocal(const CService& addrLocalIn) {
628628
629629#undef X
630630#define X (name ) stats.name = name
631- void CNode::copyStats (CNodeStats& stats, std::vector<bool >& m_asmap)
631+ void CNode::copyStats (CNodeStats& stats, const std::vector<bool >& m_asmap)
632632{
633633 stats.nodeid = this ->GetId ();
634634 X (nServices);
Original file line number Diff line number Diff line change @@ -781,7 +781,7 @@ class CNode
781781 void CloseSocketDisconnect ();
782782 bool DisconnectOldProtocol (int nVersionIn, int nVersionRequired);
783783
784- void copyStats (CNodeStats& stats, std::vector<bool >& m_asmap);
784+ void copyStats (CNodeStats& stats, const std::vector<bool >& m_asmap);
785785
786786 ServiceFlags GetLocalServices () const
787787 {
You can’t perform that action at this time.
0 commit comments