Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
I forgot once again to mark my constructors as explicit. thx sonar
[simgrid.git] / src / kernel / routing / DijkstraZone.cpp
index 54396c5..1c58336 100644 (file)
@@ -21,7 +21,7 @@ namespace routing {
 
 class GraphNodeData {
 public:
-  GraphNodeData(int id) : id_(id) {}
+  explicit GraphNodeData(int id) : id_(id) {}
   int id_;
   int graph_id_ = -1; /* used for caching internal graph id's */
 };