X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/aa99a28f4aa15a759609b66eae65501eccc1cf4a..91b3883142b769ef1fc0b7d460f78d2ae526bca2:/src/surf/StorageImpl.hpp?ds=sidebyside diff --git a/src/surf/StorageImpl.hpp b/src/surf/StorageImpl.hpp index c2ea20b3e0..186fd7c160 100644 --- a/src/surf/StorageImpl.hpp +++ b/src/surf/StorageImpl.hpp @@ -89,7 +89,6 @@ public: ~StorageImpl() override; -public: /** @brief Public interface */ s4u::Storage piface_; static StorageImpl* byName(const char* name); @@ -142,7 +141,6 @@ public: virtual std::string getHost() { return attach_; } std::map* parseContent(const char* filename); - static std::unordered_map* storages; static std::unordered_map* storagesMap() { return StorageImpl::storages; } lmm_constraint_t constraintWrite_; /* Constraint for maximum write bandwidth*/ @@ -153,6 +151,7 @@ public: private: sg_size_t size_; + static std::unordered_map* storages; std::map* content_; // Name of the host to which this storage is attached. Only used at platform parsing time, then the interface stores // the Host directly.