From: Martin Quinson Date: Mon, 4 Jan 2016 10:18:12 +0000 (+0100) Subject: add a comment explaining the current state of the code X-Git-Tag: v3_13~1365 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/20b076334ae1f2b08b294022ed73aad39a7eb934?ds=inline add a comment explaining the current state of the code --- diff --git a/src/surf/PropertyHolder.hpp b/src/surf/PropertyHolder.hpp index bd03e3cf1b..2f9556304e 100644 --- a/src/surf/PropertyHolder.hpp +++ b/src/surf/PropertyHolder.hpp @@ -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;