Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
please sonar and cosmetics
[simgrid.git] / src / simix / smx_host.cpp
index 1e5791c..557251a 100644 (file)
@@ -75,7 +75,7 @@ namespace simgrid {
 /** @brief Stop the host if it is on */
 void SIMIX_host_off(sg_host_t h, smx_actor_t issuer)
 {
-  smx_host_priv_t host = h->extension<simgrid::simix::Host>();
+  simgrid::simix::Host* host = h->extension<simgrid::simix::Host>();
 
   xbt_assert((host != nullptr), "Invalid parameters");