X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cdf6a962eb4e88efbed3df9c41343adabcf09e6c..68573f41da7750f37ddef384d5231370a6542998:/src/surf/storage_n11.cpp diff --git a/src/surf/storage_n11.cpp b/src/surf/storage_n11.cpp index 668366d7f4..90a77b4046 100644 --- a/src/surf/storage_n11.cpp +++ b/src/surf/storage_n11.cpp @@ -66,9 +66,9 @@ StorageImpl* StorageN11Model::createStorage(const std::string& id, const std::st attach); } -double StorageN11Model::next_occuring_event(double now) +double StorageN11Model::next_occurring_event(double now) { - return StorageModel::next_occuring_event_full(now); + return StorageModel::next_occurring_event_full(now); } void StorageN11Model::update_actions_state(double /*now*/, double delta) @@ -96,7 +96,7 @@ StorageN11::StorageN11(StorageModel* model, const std::string& name, lmm::System : StorageImpl(model, name, maxminSystem, bread, bwrite, type_id, content_name, size, attach) { XBT_DEBUG("Create resource with Bread '%f' Bwrite '%f' and Size '%llu'", bread, bwrite, size); - s4u::Storage::on_creation(this->piface_); + s4u::Storage::on_creation(*get_iface()); } StorageAction* StorageN11::io_start(sg_size_t size, s4u::Io::OpType type)