From e4b95e833b9b174611648100a6d0b64d90be1f0c Mon Sep 17 00:00:00 2001 From: Gabriel Corona Date: Fri, 15 Jan 2016 13:25:55 +0100 Subject: [PATCH] [s4u] Remove Host::.set_userdata() --- include/simgrid/s4u/host.hpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/include/simgrid/s4u/host.hpp b/include/simgrid/s4u/host.hpp index 98ea998eac..5d5df15b7d 100644 --- a/include/simgrid/s4u/host.hpp +++ b/include/simgrid/s4u/host.hpp @@ -81,12 +81,6 @@ public: xbt_dict_t getMountedStorageList(); xbt_dynar_t getAttachedStorageList(); - /** Allows to store user data on that host */ - // TODO, use the extension stuff instead - void set_userdata(void *data) {p_userdata = data;} - /** Retrieves the previously stored data */ - void* userdata() {return p_userdata;} - /** Get an associative list [mount point]->[Storage] off all local mount points. * * This is defined in the platform file, and cannot be modified programatically (yet). @@ -98,7 +92,6 @@ public: private: simgrid::xbt::string name_ = "noname"; boost::unordered_map *mounts = NULL; // caching - void* p_userdata = NULL; public: // FIXME: these should be protected, but it leads to many errors -- 2.20.1