Fix evil bug, and instrument/assert on some other stuff, and a bit of cleanup.
This commit is contained in:
parent
7382c328da
commit
1b4cc4af5c
5 changed files with 46 additions and 35 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue