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
Make model name constant
[simgrid.git]
/
src
/
plugins
/
vm
/
VirtualMachineImpl.hpp
diff --git
a/src/plugins/vm/VirtualMachineImpl.hpp
b/src/plugins/vm/VirtualMachineImpl.hpp
index
b2597a5
..
b1eda38
100644
(file)
--- a/
src/plugins/vm/VirtualMachineImpl.hpp
+++ b/
src/plugins/vm/VirtualMachineImpl.hpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2004-202
0
. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2004-202
1
. 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. */
@@
-90,7
+90,7
@@
private:
*/
class XBT_PRIVATE VMModel : public surf::HostModel {
public:
*/
class XBT_PRIVATE VMModel : public surf::HostModel {
public:
-
VMModel(
);
+
explicit VMModel(std::string name
);
double next_occurring_event(double now) override;
void update_actions_state(double /*now*/, double /*delta*/) override{};
double next_occurring_event(double now) override;
void update_actions_state(double /*now*/, double /*delta*/) override{};
@@
-103,6
+103,4
@@
public:
}
}
}
}
-XBT_PUBLIC_DATA simgrid::vm::VMModel* surf_vm_model;
-
#endif /* VM_INTERFACE_HPP_ */
#endif /* VM_INTERFACE_HPP_ */