X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6b32b23aea39e895a5aca1fbd6613337ca1ae47c..07eb08dd092e89871ab3ed9fcf41ad0219598e3b:/src/surf/network_interface.cpp diff --git a/src/surf/network_interface.cpp b/src/surf/network_interface.cpp index 59da83b254..86202a2562 100644 --- a/src/surf/network_interface.cpp +++ b/src/surf/network_interface.cpp @@ -202,7 +202,8 @@ namespace simgrid { for (int i = 0; i < llen; i++) { /* Beware of composite actions: ptasks put links and cpus together */ // extra pb: we cannot dynamic_cast from void*... - Resource* resource = static_cast(getVariable()->get_constraint(i)->get_id()); + kernel::model::Resource* resource = + static_cast(getVariable()->get_constraint(i)->get_id()); LinkImpl* link = dynamic_cast(resource); if (link != nullptr) retlist.push_back(link);