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] fix some bugs and smells related to disk addition
[simgrid.git]
/
include
/
simgrid
/
s4u
/
Host.hpp
diff --git
a/include/simgrid/s4u/Host.hpp
b/include/simgrid/s4u/Host.hpp
index
45038bc
..
7679ffa
100644
(file)
--- a/
include/simgrid/s4u/Host.hpp
+++ b/
include/simgrid/s4u/Host.hpp
@@
-117,7
+117,7
@@
public:
std::vector<Disk*> get_disks() const;
void add_disk(Disk* disk);
- void remove_disk(
std::string
disk_name);
+ void remove_disk(
const std::string&
disk_name);
std::vector<const char*> get_attached_storages() const;