Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
move the host list into the Engine
[simgrid.git] / src / surf / PropertyHolder.hpp
index 7c07fcd..64633b3 100644 (file)
@@ -6,6 +6,7 @@
 #ifndef SRC_SURF_PROPERTYHOLDER_HPP_
 #define SRC_SURF_PROPERTYHOLDER_HPP_
 #include <map>
+#include <string>
 
 namespace simgrid {
 namespace surf {
@@ -20,7 +21,7 @@ public:
   PropertyHolder() = default;
   ~PropertyHolder();
 
-  const char *getProperty(const char*id);
+  const char* getProperty(std::string key);
   void setProperty(std::string id, std::string value);
 
   /* FIXME: This should not be exposed, as users may do bad things with the dict they got (it's not a copy).