mark c'tors explicit
This commit is contained in:
parent
27d5e2b219
commit
60987e6b9b
@ -103,7 +103,7 @@ class Contractor
|
|||||||
ContractorHeap heap;
|
ContractorHeap heap;
|
||||||
std::vector<ContractorEdge> inserted_edges;
|
std::vector<ContractorEdge> inserted_edges;
|
||||||
std::vector<NodeID> neighbours;
|
std::vector<NodeID> neighbours;
|
||||||
ContractorThreadData(NodeID nodes) : heap(nodes) {}
|
explicit ContractorThreadData(NodeID nodes) : heap(nodes) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct NodePriorityData
|
struct NodePriorityData
|
||||||
@ -135,7 +135,7 @@ class Contractor
|
|||||||
|
|
||||||
struct ThreadDataContainer
|
struct ThreadDataContainer
|
||||||
{
|
{
|
||||||
ThreadDataContainer(int number_of_nodes) : number_of_nodes(number_of_nodes) {}
|
explicit ThreadDataContainer(int number_of_nodes) : number_of_nodes(number_of_nodes) {}
|
||||||
|
|
||||||
inline ContractorThreadData* getThreadData()
|
inline ContractorThreadData* getThreadData()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user