Yet more cleanup, it builds again now.

This commit is contained in:
Adam Ierymenko
2019-08-21 14:36:56 -07:00
parent 0b5472f9fb
commit 95a6fce2b4
8 changed files with 92 additions and 111 deletions

View File

@ -424,7 +424,7 @@ void Node::status(ZT_NodeStatus *status) const
status->online = _online ? 1 : 0;
}
struct _sortPeerPtrsByAddress { inline bool cmp(const SharedPtr<Peer> &a,const SharedPtr<Peer> &b) const { return (a->address() < b->address()); } };
struct _sortPeerPtrsByAddress { inline bool operator()(const SharedPtr<Peer> &a,const SharedPtr<Peer> &b) const { return (a->address() < b->address()); } };
ZT_PeerList *Node::peers() const
{