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
[sonar] Useless parentheses.
[simgrid.git]
/
src
/
msg
/
msg_task.cpp
diff --git
a/src/msg/msg_task.cpp
b/src/msg/msg_task.cpp
index
c22cdc8
..
03e9004
100644
(file)
--- a/
src/msg/msg_task.cpp
+++ b/
src/msg/msg_task.cpp
@@
-28,7
+28,7
@@
Task::Task(const std::string& name, double flops_amount, double bytes_amount, vo
id_ = counter++;
set_data(data);
if (MC_is_active())
- MC_ignore_heap(&
(id_), sizeof(id_)
);
+ MC_ignore_heap(&
id_, sizeof id_
);
}
Task::Task(const std::string& name, std::vector<s4u::Host*>&& hosts, std::vector<double>&& flops_amount,