From fe398f4c3070e3b379357d45bef674cd6d1817df Mon Sep 17 00:00:00 2001 From: Fred Suter Date: Mon, 18 Jul 2022 17:33:46 -0400 Subject: [PATCH] doc fix [no-ci] have an example that lazy users can copy without having weird compilation errors --- docs/source/Platform_cpp.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1