X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7571100729971aa089eb33af2f93a5177fc83757..232df979b87bc271f4fbb61a2059c6539bc23012:/include/simgrid/s4u/host.hpp diff --git a/include/simgrid/s4u/host.hpp b/include/simgrid/s4u/host.hpp index 10b6bc974a..2f5ef50fdc 100644 --- a/include/simgrid/s4u/host.hpp +++ b/include/simgrid/s4u/host.hpp @@ -81,10 +81,8 @@ public: /** 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). - * - * Do not change the returned value in any way. */ - boost::unordered_map &mounted_storages(); + boost::unordered_map const &mounted_storages(); private: simgrid::xbt::string name_ = "noname"; @@ -93,6 +91,7 @@ private: public: // FIXME: these should be protected, but it leads to many errors // Use the extensions stuff for this? Go through simgrid::surf::Host? + // TODO, this could be a unique_ptr surf::Cpu *pimpl_cpu = nullptr; surf::NetCard *pimpl_netcard = nullptr;