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
fix ns3
[simgrid.git]
/
src
/
surf
/
HostImpl.cpp
diff --git
a/src/surf/HostImpl.cpp
b/src/surf/HostImpl.cpp
index
c037bf9
..
c5817fe
100644
(file)
--- a/
src/surf/HostImpl.cpp
+++ b/
src/surf/HostImpl.cpp
@@
-164,7
+164,7
@@
void HostImpl::add_disk(s4u::Disk* disk)
disks_.push_back(disk->get_impl());
}
-void HostImpl::remove_disk(
std::string
disk_name)
+void HostImpl::remove_disk(
const std::string&
disk_name)
{
auto position = disks_.begin();
for (auto const& d : disks_) {