Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Declare functions "const" (Sonar).
[simgrid.git] / src / kernel / resource / FactorSet.hpp
index 78171886e710ad27878997da232387f5f04b8ccb..ef39f8b35c85bcec95a0a43740e1e4519fc85362 100644 (file)
@@ -37,9 +37,9 @@ public:
   void parse(const std::string& string_values);
   bool is_initialized() const { return initialized_; }
   // Get the default value
-  double operator()();
+  double operator()() const;
   // Get the factor to use for the provided size
-  double operator()(double size);
+  double operator()(double size) const;
 };
 
 } // namespace simgrid::kernel::resource