X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/685040f3a8779f848f54d8bc8f8d1d1bf003a622..10f8a979e6fa1ee45d2aaf15b06743ec74759fe3:/src/surf/storage_n11.cpp diff --git a/src/surf/storage_n11.cpp b/src/surf/storage_n11.cpp index 13bb0e3627..6a1f0db720 100644 --- a/src/surf/storage_n11.cpp +++ b/src/surf/storage_n11.cpp @@ -36,12 +36,16 @@ void check_disk_attachment() void surf_storage_model_init_default() { surf_storage_model = new simgrid::surf::StorageN11Model(); - all_existing_models.push_back(surf_storage_model); } namespace simgrid { namespace surf { +StorageN11Model::StorageN11Model() +{ + all_existing_models.push_back(this); +} + StorageImpl* StorageN11Model::createStorage(std::string id, std::string type_id, std::string content_name, std::string attach) {