X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7b260a6cdc16e5fe788e15f4f4fb2412c9605263..5bc3597e1513c7b94497ae0ea819e5fa2e28058a:/src/kernel/routing/VivaldiZone.hpp diff --git a/src/kernel/routing/VivaldiZone.hpp b/src/kernel/routing/VivaldiZone.hpp index 9b7c9ffb00..64ea9bd5f2 100644 --- a/src/kernel/routing/VivaldiZone.hpp +++ b/src/kernel/routing/VivaldiZone.hpp @@ -45,9 +45,9 @@ namespace routing { class XBT_PRIVATE VivaldiZone : public ClusterZone { public: - explicit VivaldiZone(NetZone* father, const char* name); + explicit VivaldiZone(NetZone* father, std::string name); - void setPeerLink(NetPoint* netpoint, double bw_in, double bw_out, const char* coord); + void setPeerLink(NetPoint* netpoint, double bw_in, double bw_out, std::string coord); void getLocalRoute(NetPoint* src, NetPoint* dst, sg_platf_route_cbarg_t into, double* latency) override; }; @@ -55,8 +55,8 @@ namespace vivaldi { class XBT_PRIVATE Coords { public: static simgrid::xbt::Extension EXTENSION_ID; - explicit Coords(NetPoint* host, const char* str); - virtual ~Coords(); + explicit Coords(NetPoint* host, std::string str); + virtual ~Coords() = default; std::vector coords; };