From: Arnaud Giersch Date: Sun, 1 Oct 2017 20:00:26 +0000 (+0200) Subject: Cosmetics. X-Git-Tag: v3_17~50 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/7a2718e5f7b23eaff7529cda8dac5d7332255171 Cosmetics. --- diff --git a/src/simix/smx_global.cpp b/src/simix/smx_global.cpp index db7528256f..07d7058e2d 100644 --- a/src/simix/smx_global.cpp +++ b/src/simix/smx_global.cpp @@ -502,7 +502,7 @@ void SIMIX_run() } time = SIMIX_timer_next(); - if (time > -1.0 || simix_global->process_list.empty() == false) { + if (time > -1.0 || not simix_global->process_list.empty()) { XBT_DEBUG("Calling surf_solve"); time = surf_solve(time); XBT_DEBUG("Moving time ahead : %g", time); @@ -539,7 +539,7 @@ void SIMIX_run() } while (time > -1.0 || not simix_global->process_to_run.empty()); - if (simix_global->process_list.size() != 0) { + if (not simix_global->process_list.empty()) { TRACE_end();