* under the terms of the license (GNU LGPL) which comes with this package. */
#include "simgrid/s4u.hpp"
+#include "src/plugins/file_system/FileSystem.hpp"
#include <string>
#include <xbt/string.hpp>
static void dump_platform_storages()
{
- std::map<std::string, simgrid::s4u::Storage*>* storages = simgrid::s4u::allStorages();
+ std::map<std::string, simgrid::s4u::Storage*>* storages = new std::map<std::string, simgrid::s4u::Storage*>;
+ simgrid::s4u::getStorageList(storages);
for (auto const& storage : *storages) {
XBT_INFO("Storage %s is attached to %s", storage.first.c_str(), storage.second->getHost()->getCname());