Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics: init fields at declaration, emptying the ctor
[simgrid.git] / src / kernel / resource / Model.cpp
index c078cbb..54b0392 100644 (file)
@@ -12,17 +12,7 @@ namespace simgrid {
 namespace kernel {
 namespace resource {
 
-Model::Model() : maxminSystem_(nullptr)
-{
-  readyActionSet_   = new ActionList();
-  runningActionSet_ = new ActionList();
-  failedActionSet_  = new ActionList();
-  doneActionSet_    = new ActionList();
-
-  modifiedSet_     = nullptr;
-  updateMechanism_ = UM_UNDEFINED;
-  selectiveUpdate_ = 0;
-}
+Model::Model() = default;
 
 Model::~Model()
 {