mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Mark asmap const in statistics code
This commit is contained in:
parent
d58bcdc4b5
commit
6f8c937312
2 changed files with 2 additions and 2 deletions
|
|
@ -498,7 +498,7 @@ void CNode::SetAddrLocal(const CService& addrLocalIn) {
|
|||
|
||||
#undef X
|
||||
#define X(name) stats.name = name
|
||||
void CNode::copyStats(CNodeStats &stats, std::vector<bool> &m_asmap)
|
||||
void CNode::copyStats(CNodeStats &stats, const std::vector<bool> &m_asmap)
|
||||
{
|
||||
stats.nodeid = this->GetId();
|
||||
X(nServices);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue