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] Constify pointer and reference parameters in teshsuite/.
[simgrid.git]
/
teshsuite
/
msg
/
cloud-migration
/
cloud-migration.c
diff --git
a/teshsuite/msg/cloud-migration/cloud-migration.c
b/teshsuite/msg/cloud-migration/cloud-migration.c
index
c40b713
..
6a53fbc
100644
(file)
--- a/
teshsuite/msg/cloud-migration/cloud-migration.c
+++ b/
teshsuite/msg/cloud-migration/cloud-migration.c
@@
-54,7
+54,7
@@
static int master_main(XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED char* argv[
{
msg_host_t pm0 = MSG_host_by_name("Fafard");
msg_host_t pm1 = MSG_host_by_name("Tremblay");
-
m
sg_host_t pm2 = MSG_host_by_name("Bourassa");
+
const
sg_host_t pm2 = MSG_host_by_name("Bourassa");
msg_vm_t vm0 = MSG_vm_create_core(pm0, "VM0");
MSG_vm_set_ramsize(vm0, 1e9); // 1Gbytes