osrm-components: remove unused param
We don't use restrictions anymore
This commit is contained in:
parent
cf45b2cddb
commit
1ead4cbb14
@ -130,14 +130,12 @@ int main(int argc, char *argv[])
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
// enable logging
|
// enable logging
|
||||||
if (argc < 3)
|
if (argc < 2)
|
||||||
{
|
{
|
||||||
SimpleLogger().Write(logWARNING) << "usage:\n" << argv[0] << " <osrm>";
|
SimpleLogger().Write(logWARNING) << "usage:\n" << argv[0] << " <osrm>";
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
SimpleLogger().Write() << "Using restrictions from file: " << argv[2];
|
|
||||||
|
|
||||||
std::vector<TarjanEdge> graph_edge_list;
|
std::vector<TarjanEdge> graph_edge_list;
|
||||||
auto number_of_nodes = LoadGraph(argv[1], coordinate_list, graph_edge_list);
|
auto number_of_nodes = LoadGraph(argv[1], coordinate_list, graph_edge_list);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user