Minor tweaks to member code in controller, and fix Linux build.

This commit is contained in:
Adam Ierymenko 2016-09-29 14:48:39 -07:00
parent 4fe9a4fe83
commit 2fc3d12fb6
3 changed files with 7 additions and 8 deletions

View file

@ -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;