X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/645f1e0306b5a190f60d52f3b49525941569f0aa..7bd4c4c813d5e95bbe17bab38c0c07e53a50218d:/src/surf/HostImpl.cpp diff --git a/src/surf/HostImpl.cpp b/src/surf/HostImpl.cpp index 76576cdf58..6d88f2734f 100644 --- a/src/surf/HostImpl.cpp +++ b/src/surf/HostImpl.cpp @@ -103,7 +103,7 @@ HostImpl::HostImpl(s4u::Host* host) : piface_(host) void HostImpl::getAttachedStorageList(std::vector* storages) { for (auto s : storage_) - if (s.second->attach_ == piface_->getCname()) + if (s.second->getHost() == piface_->getCname()) storages->push_back(s.second->piface_.getName()); }