Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
also change the namespace of kernel/resource/{Action,Model}
[simgrid.git] / src / kernel / activity / SleepImpl.cpp
index c4a452b..c8f76b3 100644 (file)
@@ -33,12 +33,12 @@ void simgrid::kernel::activity::SleepImpl::post()
 
     e_smx_state_t result;
     switch (surf_sleep->getState()) {
-      case simgrid::surf::Action::State::failed:
+      case simgrid::kernel::resource::Action::State::failed:
         simcall->issuer->context->iwannadie = 1;
         result                              = SIMIX_SRC_HOST_FAILURE;
         break;
 
-      case simgrid::surf::Action::State::done:
+      case simgrid::kernel::resource::Action::State::done:
         result = SIMIX_DONE;
         break;