Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
A simcall seems superfluous here (+ constify).
[simgrid.git] / include / simgrid / s4u / Actor.hpp
index a089020..7bde9ca 100644 (file)
@@ -290,8 +290,8 @@ public:
 
   /** Retrieve the property value (or nullptr if not set) */
   std::unordered_map<std::string, std::string>*
-  get_properties(); // FIXME: do not export the map, but only the keys or something
-  const char* get_property(const std::string& key);
+  get_properties() const; // FIXME: do not export the map, but only the keys or something
+  const char* get_property(const std::string& key) const;
   void set_property(const std::string& key, const std::string& value);
 
 #ifndef DOXYGEN