Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
optimize perf - part 2
[simgrid.git] / include / simgrid / s4u / host.hpp
index 27a2d0c..77c4a7b 100644 (file)
@@ -94,7 +94,7 @@ public:
   void setPstate(int pstate_index);
   int pstate();
   xbt_dict_t mountedStoragesAsDict(); // HACK
-  xbt_dynar_t attachedStorages();
+  void attachedStorages(std::vector<const char*> * storages);
 
   /** Get an associative list [mount point]->[Storage] of all local mount points.
    *
@@ -117,7 +117,6 @@ public:
   /** DO NOT USE DIRECTLY (@todo: these should be protected, once our code is clean) */
   kernel::routing::NetPoint* pimpl_netpoint = nullptr;
 
-public:
   /*** Called on each newly created object */
   static simgrid::xbt::signal<void(Host&)> onCreation;
   /*** Called just before destructing an object */