X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/94cee0547a96ae874c04f2435c9e326c5a3f474e..5ed37babb2fa9097abe82df299c0aa259ed84d5a:/src/kernel/routing/NetZone_test.hpp diff --git a/src/kernel/routing/NetZone_test.hpp b/src/kernel/routing/NetZone_test.hpp index 18500258ee..3cc1c7ab79 100644 --- a/src/kernel/routing/NetZone_test.hpp +++ b/src/kernel/routing/NetZone_test.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2017-2021. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2017-2023. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -13,7 +13,7 @@ // Callback function common to several routing unit tests struct CreateHost { std::pair - operator()(simgrid::s4u::NetZone* zone, const std::vector& /*coord*/, int id) const + operator()(simgrid::s4u::NetZone* zone, const std::vector& /*coord*/, unsigned long id) const { const simgrid::s4u::Host* host = zone->create_host(std::to_string(id), 1e9)->seal(); return std::make_pair(host->get_netpoint(), nullptr);