A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
I forgot once again to mark my constructors as explicit. thx sonar
[simgrid.git]
/
src
/
kernel
/
routing
/
DijkstraZone.cpp
diff --git
a/src/kernel/routing/DijkstraZone.cpp
b/src/kernel/routing/DijkstraZone.cpp
index
54396c5
..
1c58336
100644
(file)
--- a/
src/kernel/routing/DijkstraZone.cpp
+++ b/
src/kernel/routing/DijkstraZone.cpp
@@
-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 */
};