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
/
mc
/
mc_xbt.cpp
diff --git
a/src/mc/mc_xbt.cpp
b/src/mc/mc_xbt.cpp
index
00cbe6c
..
86c0144
100644
(file)
--- a/
src/mc/mc_xbt.cpp
+++ b/
src/mc/mc_xbt.cpp
@@
-30,7
+30,7
@@
void read_element(AddressSpace const& as,
std::size_t read_length(AddressSpace const& as, RemotePtr<s_xbt_dynar_t> addr)
{
- if (
!
addr)
+ if (
not
addr)
return 0;
unsigned long res;
as.read_bytes(&res, sizeof(res),