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: don't use auto for pointers, but auto*
[simgrid.git]
/
src
/
bindings
/
java
/
jmsg_vm.cpp
diff --git
a/src/bindings/java/jmsg_vm.cpp
b/src/bindings/java/jmsg_vm.cpp
index
06814bf
..
9055739
100644
(file)
--- a/
src/bindings/java/jmsg_vm.cpp
+++ b/
src/bindings/java/jmsg_vm.cpp
@@
-1,6
+1,6
@@
/* Functions related to the Virtual Machines. */
/* Functions related to the Virtual Machines. */
-/* Copyright (c) 2012-201
7
. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2012-201
8
. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
@@
-143,7
+143,7
@@
JNIEXPORT void JNICALL Java_org_simgrid_msg_VM_destroy(JNIEnv* env, jobject jvm)
msg_vm_t vm = jvm_get_native(env, jvm);
if (vm) {
MSG_vm_destroy(vm);
msg_vm_t vm = jvm_get_native(env, jvm);
if (vm) {
MSG_vm_destroy(vm);
- auto vmList = &simgrid::vm::VirtualMachineImpl::allVms_;
+ auto
*
vmList = &simgrid::vm::VirtualMachineImpl::allVms_;
vmList->erase(std::remove(vmList->begin(), vmList->end(), vm), vmList->end());
}
}
vmList->erase(std::remove(vmList->begin(), vmList->end(), vm), vmList->end());
}
}