X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/51123d8e4bf01f354aef77ffa4427d2388d9bb98..1ff58d7a8f46e07cdc902f96b99bb47d0a077932:/include/simgrid/s4u/Storage.hpp diff --git a/include/simgrid/s4u/Storage.hpp b/include/simgrid/s4u/Storage.hpp index 571c3b1d92..bc24f9329f 100644 --- a/include/simgrid/s4u/Storage.hpp +++ b/include/simgrid/s4u/Storage.hpp @@ -21,7 +21,7 @@ extern template class XBT_PUBLIC() Extendable; } namespace s4u { -XBT_ATTRIB_PUBLIC void getStorageList(std::map* whereTo); +void getStorageList(std::map* whereTo); XBT_PUBLIC_CLASS Storage : public simgrid::xbt::Extendable { @@ -29,7 +29,7 @@ XBT_PUBLIC_CLASS Storage : public simgrid::xbt::Extendable friend simgrid::surf::StorageImpl; public: - explicit Storage(surf::StorageImpl * pimpl) : pimpl_(pimpl) {} + explicit Storage(std::string name, surf::StorageImpl * pimpl); virtual ~Storage() = default; /** Retrieve a Storage by its name. It must exist in the platform file */ static Storage* byName(std::string name);