X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/21fe278c8460849931b37ccde22e944edec46f71..84f0fd4f321ba3d01daf3a6a64d5826008376548:/src/surf/HostImpl.hpp diff --git a/src/surf/HostImpl.hpp b/src/surf/HostImpl.hpp index 791b13500f..6583e660af 100644 --- a/src/surf/HostImpl.hpp +++ b/src/surf/HostImpl.hpp @@ -50,7 +50,7 @@ public: std::vector get_disks(); void add_disk(s4u::Disk* disk); - void remove_disk(std::string disk_name); + void remove_disk(const std::string& disk_name); /** @brief Get the vector of storages (by names) attached to the Host */ virtual std::vector get_attached_storages();