From 20b076334ae1f2b08b294022ed73aad39a7eb934 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Mon, 4 Jan 2016 11:18:12 +0100 Subject: [PATCH] add a comment explaining the current state of the code --- src/surf/PropertyHolder.hpp | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.20.1