Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Replace a protected field with a private variable in the child' constructor
[simgrid.git] / src / kernel / resource / Model.cpp
index ac5f5ec..2d70b7e 100644 (file)
@@ -3,13 +3,14 @@
 /* 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. */
 
-#include "src/kernel/resource/Model.hpp"
+#include "simgrid/kernel/resource/Model.hpp"
 #include "src/kernel/lmm/maxmin.hpp"
 
 XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(resource);
 
 namespace simgrid {
-namespace surf {
+namespace kernel {
+namespace resource {
 
 Model::Model() : maxminSystem_(nullptr)
 {
@@ -20,7 +21,6 @@ Model::Model() : maxminSystem_(nullptr)
 
   modifiedSet_     = nullptr;
   updateMechanism_ = UM_UNDEFINED;
-  selectiveUpdate_ = 0;
 }
 
 Model::~Model()
@@ -165,3 +165,4 @@ void Model::updateActionsStateFull(double /*now*/, double /*delta*/)
 
 } // namespace surf
 } // namespace simgrid
+} // namespace simgrid