Minor tweaks to member code in controller, and fix Linux build.
This commit is contained in:
parent
4fe9a4fe83
commit
2fc3d12fb6
3 changed files with 7 additions and 8 deletions
|
@ -181,6 +181,10 @@ private:
|
|||
network["activeMemberCount"] = nmi.activeMemberCount;
|
||||
network["totalMemberCount"] = nmi.totalMemberCount;
|
||||
}
|
||||
inline void _addMemberNonPersistedFields(nlohmann::json &member,uint64_t now)
|
||||
{
|
||||
member["clock"] = now;
|
||||
}
|
||||
|
||||
// These are const after construction
|
||||
Node *const _node;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue