From caec38ac39e3a61e7b68218e330c7dcf3f84afbc Mon Sep 17 00:00:00 2001 From: SUTER Frederic Date: Fri, 16 Apr 2021 14:15:08 +0200 Subject: [PATCH] please clang --- src/s4u/s4u_Netzone.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.20.1