mark constructor explicit
This commit is contained in:
parent
4a332be0e7
commit
4c65b47f39
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ public:
|
|||
|
||||
The number of nodes in the graph currently cannot be changed. You can only add edges between the existing nodes.
|
||||
**/
|
||||
Graph(NodeId const num_nodes);
|
||||
explicit Graph(NodeId const num_nodes);
|
||||
|
||||
/** @return The number of nodes in the graph. **/
|
||||
NodeId num_nodes() const;
|
||||
|
|
Loading…
Reference in a new issue