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' of git+ssh://scm.gforge.inria.fr/gitroot/simgrid/simgrid
[simgrid.git]
/
src
/
msg
/
msg_vm.cpp
diff --git
a/src/msg/msg_vm.cpp
b/src/msg/msg_vm.cpp
index
34abb09
..
6510b2a
100644
(file)
--- a/
src/msg/msg_vm.cpp
+++ b/
src/msg/msg_vm.cpp
@@
-209,8
+209,8
@@
msg_vm_t MSG_vm_create_core(msg_host_t ind_pm, const char *name)
{
/* make sure the VM of the same name does not exit */
{
- simgrid::Host* ind_host_tmp =
- (simgrid::Host*) xbt_dict_get_or_null(host_list, name);
+ simgrid::
s4u::
Host* ind_host_tmp =
+ (simgrid::
s4u::
Host*) xbt_dict_get_or_null(host_list, name);
if (ind_host_tmp != nullptr && sg_host_simix(ind_host_tmp) != nullptr) {
XBT_ERROR("host %s already exits", name);
return nullptr;
@@
-251,8
+251,6
@@
void MSG_vm_destroy(msg_vm_t vm)
/* Then, destroy the VM object */
simcall_vm_destroy(vm);
- __MSG_host_destroy(vm);
-
TRACE_msg_vm_end(vm);
}