X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/54e818e2dea66d457ec7061f3f2bec19be321f39..4e62e76d104a17f0c9aaf9135ac605e9c8c87141:/src/kernel/activity/ExecImpl.cpp diff --git a/src/kernel/activity/ExecImpl.cpp b/src/kernel/activity/ExecImpl.cpp index a210ab0ef1..7c899d4b0a 100644 --- a/src/kernel/activity/ExecImpl.cpp +++ b/src/kernel/activity/ExecImpl.cpp @@ -56,7 +56,7 @@ void simcall_HANDLER_execution_waitany_for(smx_simcall_t simcall, simgrid::kerne } else { simcall->timeout_cb_ = simgrid::simix::Timer::set(SIMIX_get_clock() + timeout, [simcall, execs, count]() { for (size_t i = 0; i < count; i++) { - // Remove the first occurence of simcall: + // Remove the first occurrence of simcall: auto* exec = execs[i]; auto j = boost::range::find(exec->simcalls_, simcall); if (j != exec->simcalls_.end()) @@ -222,7 +222,7 @@ void ExecImpl::finish() size_t count = simcall_execution_waitany_for__get__count(simcall); for (size_t i = 0; i < count; i++) { - // Remove the first occurence of simcall: + // Remove the first occurrence of simcall: auto* exec = execs[i]; auto j = boost::range::find(exec->simcalls_, simcall); if (j != exec->simcalls_.end())