make DB::_memberChanged and _networkChanged virtual

This commit is contained in:
Grant Limberg 2021-06-02 13:46:11 -07:00
parent 47154fa623
commit 19f4146aca
No known key found for this signature in database
GPG key ID: 2BA62CCABBB4095A
3 changed files with 9 additions and 5 deletions

View file

@ -147,8 +147,8 @@ protected:
std::mutex lock;
};
void _memberChanged(nlohmann::json &old,nlohmann::json &memberConfig,bool notifyListeners);
void _networkChanged(nlohmann::json &old,nlohmann::json &networkConfig,bool notifyListeners);
virtual void _memberChanged(nlohmann::json &old,nlohmann::json &memberConfig,bool notifyListeners);
virtual void _networkChanged(nlohmann::json &old,nlohmann::json &networkConfig,bool notifyListeners);
void _fillSummaryInfo(const std::shared_ptr<_Network> &nw,NetworkSummaryInfo &info);
std::vector<DB::ChangeListener *> _changeListeners;