A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
please codacy: use long form of negation in C++
[simgrid.git]
/
src
/
simix
/
smx_deployment.cpp
diff --git
a/src/simix/smx_deployment.cpp
b/src/simix/smx_deployment.cpp
index
daa1b11
..
946f64b
100644
(file)
--- 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();
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.",
}
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);
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();
THROWF(arg_error, 0, "Host '%s' unknown", process_host);
process.host = host->cname();