summaryrefslogtreecommitdiff
path: root/node/Cluster.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-10-30 15:54:40 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-10-30 15:54:40 -0700
commit1b4cc4af5c7c0e47f73f3728ca36dc665d0e3224 (patch)
treedd314c01c1b48ace25c093fbd4345fa0112377bb /node/Cluster.cpp
parent7382c328daa33b5ff21baf78ee022f23092cda3b (diff)
downloadinfinitytier-1b4cc4af5c7c0e47f73f3728ca36dc665d0e3224.tar.gz
infinitytier-1b4cc4af5c7c0e47f73f3728ca36dc665d0e3224.zip
Fix evil bug, and instrument/assert on some other stuff, and a bit of cleanup.
Diffstat (limited to 'node/Cluster.cpp')
-rw-r--r--node/Cluster.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Cluster.cpp b/node/Cluster.cpp
index 93b69a08..d0daae43 100644
--- a/node/Cluster.cpp
+++ b/node/Cluster.cpp
@@ -476,7 +476,7 @@ struct _ClusterAnnouncePeers
_ClusterAnnouncePeers(const uint64_t now_,Cluster *parent_) : now(now_),parent(parent_) {}
const uint64_t now;
Cluster *const parent;
- inline void operator()(const Topology &t,const SharedPtr<Peer> &peer)
+ inline void operator()(const Topology &t,const SharedPtr<Peer> &peer) const
{
Path *p = peer->getBestPath(now);
if (p)