A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[sonar] Pointer to const.
[simgrid.git]
/
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
914c09d
..
b29dd66
100644
(file)
--- 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, 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);
{
kernel::actor::simcall([this, &host, userdata] {
this->set_data(userdata);