X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b204ff04eae43a5f5a8825141ae0647b92507bc8..c6bbeb1829c36ff45b43ab25f9d8d3f53f554d98:/src/plugins/file_system/s4u_FileSystem.cpp diff --git a/src/plugins/file_system/s4u_FileSystem.cpp b/src/plugins/file_system/s4u_FileSystem.cpp index 88ec37b6d4..fce578d9f1 100644 --- a/src/plugins/file_system/s4u_FileSystem.cpp +++ b/src/plugins/file_system/s4u_FileSystem.cpp @@ -479,10 +479,9 @@ FileSystemDiskExt::FileSystemDiskExt(simgrid::s4u::Disk* ptr) content_.reset(parse_content(content_str)); } -FileSystemStorageExt::FileSystemStorageExt(simgrid::s4u::Storage* ptr) +FileSystemStorageExt::FileSystemStorageExt(simgrid::s4u::Storage* ptr) : size_(ptr->get_impl()->size_) { content_.reset(parse_content(ptr->get_impl()->content_name_)); - size_ = ptr->get_impl()->size_; } std::map* FileSystemDiskExt::parse_content(const std::string& filename)