X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e3fd04d9bd31fdb473e914c7084f3866fcf314b0..73be712f8672739c0f594919aaae1f2f3a2e957a:/src/s4u/s4u_storage.cpp diff --git a/src/s4u/s4u_storage.cpp b/src/s4u/s4u_storage.cpp index 96f9733a83..b4920f5a15 100644 --- a/src/s4u/s4u_storage.cpp +++ b/src/s4u/s4u_storage.cpp @@ -3,10 +3,10 @@ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ -#include "simgrid/s4u/File.hpp" #include "simgrid/s4u/Host.hpp" #include "simgrid/s4u/Storage.hpp" #include "simgrid/simix.hpp" +#include "src/plugins/file_system/FileSystem.hpp" #include "src/surf/StorageImpl.hpp" #include @@ -71,12 +71,6 @@ void Storage::setProperty(std::string key, std::string value) simgrid::simix::kernelImmediate([this, key, value] { this->pimpl_->setProperty(key, value); }); } -std::map* Storage::getContent() -{ - FileSystemStorageExt* file_system = extension(); - return file_system->getContent(); -} - sg_size_t Storage::read(sg_size_t size) { return simcall_storage_read(pimpl_, size);