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::update_algo a constant field, set at initialization only
[simgrid.git]
/
src
/
surf
/
cpu_interface.hpp
diff --git
a/src/surf/cpu_interface.hpp
b/src/surf/cpu_interface.hpp
index
00d095c
..
81a9cb7
100644
(file)
--- a/
src/surf/cpu_interface.hpp
+++ b/
src/surf/cpu_interface.hpp
@@
-26,8
+26,7
@@
namespace surf {
*/
class XBT_PUBLIC CpuModel : public kernel::resource::Model {
public:
*/
class XBT_PUBLIC CpuModel : public kernel::resource::Model {
public:
- CpuModel(kernel::resource::Model::UpdateAlgo algo) : Model(algo) {}
- CpuModel() : Model() {}
+ explicit CpuModel(kernel::resource::Model::UpdateAlgo algo) : Model(algo) {}
/**
* @brief Create a Cpu
/**
* @brief Create a Cpu