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
Useless cast to void*.
[simgrid.git]
/
examples
/
s4u
/
maestro-set
/
s4u-maestro-set.cpp
diff --git
a/examples/s4u/maestro-set/s4u-maestro-set.cpp
b/examples/s4u/maestro-set/s4u-maestro-set.cpp
index
51af163
..
b6758ca
100644
(file)
--- a/
examples/s4u/maestro-set/s4u-maestro-set.cpp
+++ b/
examples/s4u/maestro-set/s4u-maestro-set.cpp
@@
-41,7
+41,7
@@
static void sender()
{
ensure_root_tid();
auto* payload = new std::string("some message");
- simgrid::s4u::Mailbox::by_name("some mailbox")->put(
(void*)
payload, 10e8);
+ simgrid::s4u::Mailbox::by_name("some mailbox")->put(payload, 10e8);
}
static void receiver()