*/
std::vector<std::string> names;
for (auto const& kv : hosts_)
- names.push_back(kv.second->getName());
+ names.push_back(kv.second->get_name());
std::sort(names.begin(), names.end());
hosts_.at(name)->destroy();
/* Also delete the other data */
- delete netRoot_;
+ delete netzone_root_;
for (auto const& kv : netpoints_)
delete kv.second;