Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
rename simgrid::kernel::model into simgrid::kernel::resource
[simgrid.git] / src / surf / network_interface.cpp
index 59da83b..c53c07d 100644 (file)
@@ -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<Resource*>(getVariable()->get_constraint(i)->get_id());
+        kernel::resource::Resource* resource =
+            static_cast<kernel::resource::Resource*>(getVariable()->get_constraint(i)->get_id());
         LinkImpl* link     = dynamic_cast<LinkImpl*>(resource);
         if (link != nullptr)
           retlist.push_back(link);