osrm-components: remove unused param

We don't use restrictions anymore
This commit is contained in:
Johan Uhle 2015-10-01 12:26:42 +02:00 committed by Patrick Niklaus
parent cf45b2cddb
commit 1ead4cbb14

View File

@ -130,14 +130,12 @@ int main(int argc, char *argv[])
try
{
// enable logging
if (argc < 3)
if (argc < 2)
{
SimpleLogger().Write(logWARNING) << "usage:\n" << argv[0] << " <osrm>";
return -1;
}
SimpleLogger().Write() << "Using restrictions from file: " << argv[2];
std::vector<TarjanEdge> graph_edge_list;
auto number_of_nodes = LoadGraph(argv[1], coordinate_list, graph_edge_list);