Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
ActorImpl: postpone the on_destroy signal to the destructor
[simgrid.git] / src / kernel / routing / RoutedZone.cpp
index de14a37..090085d 100644 (file)
@@ -59,7 +59,7 @@ namespace simgrid {
 namespace kernel {
 namespace routing {
 
-RoutedZone::RoutedZone(NetZoneImpl* father, std::string name, resource::NetworkModel* netmodel)
+RoutedZone::RoutedZone(NetZoneImpl* father, const std::string& name, resource::NetworkModel* netmodel)
     : NetZoneImpl(father, name, netmodel)
 {
 }