Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
don't know why this was still a struct
[simgrid.git] / src / kernel / routing / NetZoneImpl.cpp
index ff8fe36..1fa9475 100644 (file)
@@ -92,7 +92,7 @@ int NetZoneImpl::get_host_count()
   return count;
 }
 
-simgrid::s4u::Host* NetZoneImpl::create_host(const char* name, const std::vector<double>& speed_per_pstate,
+simgrid::s4u::Host* NetZoneImpl::create_host(const std::string& name, const std::vector<double>& speed_per_pstate,
                                              int coreAmount, const std::map<std::string, std::string>* props)
 {
   simgrid::s4u::Host* res = new simgrid::s4u::Host(name);