Reorder initialization to fix warnings
This commit is contained in:
parent
2c0fa2a9f6
commit
b7750ff742
@ -45,14 +45,14 @@ EdgeBasedGraphFactory::EdgeBasedGraphFactory(
|
|||||||
std::vector<NodeInfo> & m_node_info_list,
|
std::vector<NodeInfo> & m_node_info_list,
|
||||||
SpeedProfileProperties & speed_profile
|
SpeedProfileProperties & speed_profile
|
||||||
) : speed_profile(speed_profile),
|
) : speed_profile(speed_profile),
|
||||||
m_node_based_graph(node_based_graph),
|
|
||||||
m_number_of_edge_based_nodes(std::numeric_limits<unsigned>::max()),
|
m_number_of_edge_based_nodes(std::numeric_limits<unsigned>::max()),
|
||||||
m_restriction_map(std::move(restriction_map)),
|
|
||||||
m_node_info_list(m_node_info_list),
|
m_node_info_list(m_node_info_list),
|
||||||
|
m_node_based_graph(node_based_graph),
|
||||||
|
m_restriction_map(std::move(restriction_map)),
|
||||||
max_id(0)
|
max_id(0)
|
||||||
{
|
{
|
||||||
|
|
||||||
// why not use the copy constructor?
|
// insert into unordered sets for fast lookup
|
||||||
m_barrier_nodes.insert(
|
m_barrier_nodes.insert(
|
||||||
barrier_node_list.begin(),
|
barrier_node_list.begin(),
|
||||||
barrier_node_list.end()
|
barrier_node_list.end()
|
||||||
|
Loading…
Reference in New Issue
Block a user