mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-07 04:53:44 +02:00
build fix
This commit is contained in:
parent
e245eb1eb5
commit
eef66aee9a
1 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ class RuntimeEnvironment;
|
|||
class Topology
|
||||
{
|
||||
private:
|
||||
static _RootRankingFunction
|
||||
struct _RootRankingFunction
|
||||
{
|
||||
ZT_ALWAYS_INLINE _RootRankingFunction() : bestRoot(),bestRootLatency(0xffff) {}
|
||||
ZT_ALWAYS_INLINE bool operator()(const SharedPtr<Peer> &peer,const std::vector<InetAddress> &phy)
|
||||
|
@ -379,7 +379,7 @@ public:
|
|||
|
||||
inline SharedPtr<Peer> root(const int64_t now)
|
||||
{
|
||||
_RootRankingFunc rrf;
|
||||
_RootRankingFunction rrf;
|
||||
eachRoot(rrf);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue