X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b87fc0829538ec066fd077e6c30ee6270b8abd78..77bbf3027c4240a2e833209a3a3f186589da8577:/src/kernel/routing/DragonflyZone.hpp diff --git a/src/kernel/routing/DragonflyZone.hpp b/src/kernel/routing/DragonflyZone.hpp index ceeeda348f..fd63be55e4 100644 --- a/src/kernel/routing/DragonflyZone.hpp +++ b/src/kernel/routing/DragonflyZone.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2014-2016. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2014-2017. 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. */ @@ -68,11 +68,11 @@ public: void seal() override; void generateRouters(); void generateLinks(); - void createLink(std::string id, int numlinks, surf::LinkImpl** linkup, surf::LinkImpl** linkdown); + void createLink(const std::string& id, int numlinks, surf::LinkImpl** linkup, surf::LinkImpl** linkdown); private: void rankId_to_coords(int rankId, unsigned int (*coords)[4]); - ClusterCreationArgs* cluster_; + ClusterCreationArgs* cluster_ = nullptr; unsigned int numNodesPerBlade_ = 0; unsigned int numBladesPerChassis_ = 0; unsigned int numChassisPerGroup_ = 0;