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
Merge branch 'master' into fix/execute_benched
[simgrid.git]
/
src
/
mc
/
mc_smx.cpp
diff --git
a/src/mc/mc_smx.cpp
b/src/mc/mc_smx.cpp
index
9f07568
..
8be69df
100644
(file)
--- a/
src/mc/mc_smx.cpp
+++ b/
src/mc/mc_smx.cpp
@@
-160,8
+160,8
@@
const char* MC_smx_actor_get_host_name(smx_actor_t actor)
*/
union fake_host {
simgrid::s4u::Host host;
- fake_host() {}
- ~fake_host() {}
+ fake_host() {
/* Nothing to do*/
}
+ ~fake_host() {
/* Nothing to do*/
}
};
fake_host foo;
const size_t offset = (char*)&foo.host.getName() - (char*)&foo.host;