From: Fred Suter Date: Mon, 18 Jul 2022 21:33:46 +0000 (-0400) Subject: doc fix [no-ci] X-Git-Tag: v3.32~137^2~1 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/fe398f4c3070e3b379357d45bef674cd6d1817df doc fix [no-ci] have an example that lazy users can copy without having weird compilation errors --- diff --git a/docs/source/Platform_cpp.rst b/docs/source/Platform_cpp.rst index 75abec5785..e0aad1210a 100644 --- a/docs/source/Platform_cpp.rst +++ b/docs/source/Platform_cpp.rst @@ -155,7 +155,7 @@ Note that the leaves and loopback links are defined through callbacks, as follow /* create each leaf in the Fat-Tree, return a pair composed of: */ static std::pair - create_hostzone(const sg4::NetZone* zone, const std::vector& /*coord*/, int id) + create_hostzone(const sg4::NetZone* zone, const std::vector& /*coord*/, unsigned long id) { /* creating zone */ std::string hostname = "host" + std::to_string(id);