X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ed62e57b88a7b804d2dcd3eae08d26671fd0cff2..404c5d56e441fda9f4f266e49c09871ae4e03963:/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 914c09dc0f..b29dd66d3d 100644 --- a/src/plugins/file_system/s4u_FileSystem.cpp +++ b/src/plugins/file_system/s4u_FileSystem.cpp @@ -67,7 +67,7 @@ Disk* File::find_local_disk_on(const Host* host) File::File(const std::string& fullpath, void* userdata) : File(fullpath, Host::current(), userdata) {} -File::File(const std::string& fullpath, sg_host_t host, void* userdata) : fullpath_(fullpath) +File::File(const std::string& fullpath, const_sg_host_t host, void* userdata) : fullpath_(fullpath) { kernel::actor::simcall([this, &host, userdata] { this->set_data(userdata);