X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e96187af67ea418609e2e4454afbab053b37fc2f..1bf033cc925aa31693ef5163ea056fde5b75ff1e:/src/surf/StorageImpl.hpp diff --git a/src/surf/StorageImpl.hpp b/src/surf/StorageImpl.hpp index 530c7287e9..6f50872188 100644 --- a/src/surf/StorageImpl.hpp +++ b/src/surf/StorageImpl.hpp @@ -64,7 +64,7 @@ public: class StorageImpl : public kernel::resource::Resource, public PropertyHolder { public: /** @brief Storage constructor */ - StorageImpl(kernel::resource::Model* model, std::string name, kernel::lmm::System* maxminSystem, double bread, + StorageImpl(kernel::resource::Model* model, std::string name, kernel::lmm::System* maxmin_system, double bread, double bwrite, std::string type_id, std::string content_name, sg_size_t size, std::string attach); ~StorageImpl() override; @@ -171,11 +171,12 @@ public: std::string id; std::string model; std::string content; - std::map* properties; - std::map* model_properties; + std::unordered_map* properties; + std::unordered_map* model_properties; sg_size_t size; - StorageType(std::string id, std::string model, std::string content, std::map* properties, - std::map* model_properties, sg_size_t size) + StorageType(std::string id, std::string model, std::string content, + std::unordered_map* properties, + std::unordered_map* model_properties, sg_size_t size) : id(id), model(model), content(content), properties(properties), model_properties(model_properties), size(size) { }