Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
start snake_case()ing some private fields
[simgrid.git] / include / simgrid / kernel / resource / Resource.hpp
index 1c281bc..551ff4c 100644 (file)
@@ -11,6 +11,8 @@
 #include <xbt/str.h>
 #include <xbt/utility.hpp>
 
+#include <string>
+
 namespace simgrid {
 namespace kernel {
 namespace resource {
@@ -68,7 +70,7 @@ public:
 private:
   std::string name_;
   Model* model_;
-  bool isOn_ = true;
+  bool is_on_ = true;
 
 public: /* LMM */
   /** @brief Get the lmm constraint associated to this Resource if it is part of a LMM component (or null if none) */