X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c9309ca5ce7b71208ec162d803972feabe4e42da..9453a72a7bca10ac53797ce67f9310c800541934:/src/surf/StorageImpl.cpp diff --git a/src/surf/StorageImpl.cpp b/src/surf/StorageImpl.cpp index 6b79856682..db277c6adc 100644 --- a/src/surf/StorageImpl.cpp +++ b/src/surf/StorageImpl.cpp @@ -5,7 +5,7 @@ * under the terms of the license (GNU LGPL) which comes with this package. */ #include "StorageImpl.hpp" -#include "surf/maxmin.hpp" +#include "src/kernel/lmm/maxmin.hpp" #include "surf_private.hpp" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_storage, surf, "Logging specific to the SURF storage module"); @@ -41,12 +41,11 @@ StorageImpl* StorageImpl::byName(std::string name) StorageModel::StorageModel() : Model() { - maxminSystem_ = new s_lmm_system_t(true /* lazy update */); + maxminSystem_ = new simgrid::kernel::lmm::System(true /* lazy update */); } StorageModel::~StorageModel() { - delete maxminSystem_; surf_storage_model = nullptr; }