Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove useless boost #includes
[simgrid.git] / src / surf / surf_interface.hpp
index 7b13c6c..a8e1ea8 100644 (file)
@@ -12,7 +12,6 @@
 #include <memory>
 #include <utility>
 
-#include <boost/function.hpp>
 #include <boost/intrusive/list.hpp>
 
 #include <xbt/signal.hpp>
@@ -255,7 +254,7 @@ public:
   void gapRemove();
 
 protected:
-  lmm_variable_t variable_;
+  lmm_variable_t variable_ = nullptr;
   double lastValue_ = 0;
   double lastUpdate_ = 0;
   int suspended_ = 0;
@@ -406,7 +405,7 @@ public:
   bool operator==(const Resource &other) const;
 
   /**
-   * @brief Apply an event of external load event to that storage
+   * @brief Apply an event of external load event to that resource
    *
    * @param event What happened
    * @param value [TODO]