X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d6d03a0a88c2673c9e5c604d63912b77bc17fdd4..e08706f3186be543c8f4a9c0b2ba5821d17314a4:/src/simix/smx_deployment.cpp diff --git a/src/simix/smx_deployment.cpp b/src/simix/smx_deployment.cpp index daa1b11c00..946f64ba2f 100644 --- a/src/simix/smx_deployment.cpp +++ b/src/simix/smx_deployment.cpp @@ -46,7 +46,7 @@ void SIMIX_launch_application(const char *file) try { parse_status = surf_parse(); surf_parse_close(); - xbt_assert(!parse_status, "Parse error at %s:%d", file,surf_parse_lineno); + xbt_assert(not parse_status, "Parse error at %s:%d", file, surf_parse_lineno); } catch (xbt_ex& e) { XBT_ERROR("Unrecoverable error at %s:%d. The full exception stack follows, in case it helps you to diagnose the problem.", @@ -124,7 +124,7 @@ void SIMIX_process_set_function(const char *process_host, memset(&process,0,sizeof(process)); sg_host_t host = sg_host_by_name(process_host); - if (!host) + if (not host) THROWF(arg_error, 0, "Host '%s' unknown", process_host); process.host = host->cname();