X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/80778e856b09b86fba1663275ffc8bc320dea9ce..6b56c15c3ec34841fae10fa42a656aec029d27e9:/src/kernel/activity/SleepImpl.cpp diff --git a/src/kernel/activity/SleepImpl.cpp b/src/kernel/activity/SleepImpl.cpp index a7c1cea468..0288909a25 100644 --- a/src/kernel/activity/SleepImpl.cpp +++ b/src/kernel/activity/SleepImpl.cpp @@ -11,9 +11,7 @@ XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(ker_actor); -namespace simgrid { -namespace kernel { -namespace activity { +namespace simgrid::kernel::activity { SleepImpl& SleepImpl::set_host(s4u::Host* host) { @@ -58,7 +56,7 @@ void SleepImpl::finish() { XBT_DEBUG("SleepImpl::finish() in state %s", get_state_str()); while (not simcalls_.empty()) { - const s_smx_simcall* simcall = simcalls_.front(); + const actor::Simcall* simcall = simcalls_.front(); simcalls_.pop_front(); simcall->issuer_->waiting_synchro_ = nullptr; @@ -71,6 +69,4 @@ void SleepImpl::finish() } } } -} // namespace activity -} // namespace kernel -} // namespace simgrid +} // namespace simgrid::kernel::activity