double start = xbt_os_time();
try {
parse_platform_file(platf);
- } catch (xbt_ex& e) {
+ } catch (const Exception& e) {
xbt_die("Error while loading %s: %s", platf.c_str(), e.what());
}
return netp == pimpl->netpoints_.end() ? nullptr : netp->second;
}
-/** @brief Fill the provided vector with all existing netpoints */
-void Engine::getNetpointList(std::vector<kernel::routing::NetPoint*>* list)
-{
- for (auto const& kv : pimpl->netpoints_)
- list->push_back(kv.second);
-}
std::vector<kernel::routing::NetPoint*> Engine::get_all_netpoints()
{
std::vector<kernel::routing::NetPoint*> res;