From 7a2718e5f7b23eaff7529cda8dac5d7332255171 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Sun, 1 Oct 2017 22:00:26 +0200 Subject: [PATCH] Cosmetics. --- src/simix/smx_global.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.20.1