Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add a comment explaining the current state of the code
authorMartin Quinson <martin.quinson@loria.fr>
Mon, 4 Jan 2016 10:18:12 +0000 (11:18 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Mon, 4 Jan 2016 10:18:12 +0000 (11:18 +0100)
src/surf/PropertyHolder.hpp

index bd03e3c..2f95563 100644 (file)
@@ -22,6 +22,10 @@ public:
 
        const char *getProperty(const char*id);
        void setProperty(const char*id, const char*value);
+
+       /* FIXME: This should not be exposed, as users may do bad things with the dict they got (it's not a copy).
+        * But some user API expose this call so removing it is not so easy.
+        */
        xbt_dict_t getProperties();
 private:
        xbt_dict_t p_properties = NULL;