From: SUTER Frederic Date: Fri, 16 Apr 2021 12:15:08 +0000 (+0200) Subject: please clang X-Git-Tag: v3.28~455^2~34 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/caec38ac39e3a61e7b68218e330c7dcf3f84afbc please clang --- diff --git a/src/s4u/s4u_Netzone.cpp b/src/s4u/s4u_Netzone.cpp index ce45cb1d6b..e118550cf0 100644 --- a/src/s4u/s4u_Netzone.cpp +++ b/src/s4u/s4u_Netzone.cpp @@ -145,7 +145,7 @@ NetZone* NetZone::seal() s4u::Host* NetZone::create_host(const std::string& name, double speed) { - return create_host(name, {speed}); + return create_host(name, std::vector{speed}); } s4u::Host* NetZone::create_host(const std::string& name, const std::vector& speed_per_pstate) @@ -166,7 +166,7 @@ s4u::Host* NetZone::create_host(const std::string& name, const std::vector{bandwidth}); } s4u::Link* NetZone::create_link(const std::string& name, const std::vector& bandwidths)