reformat file according to guidelines
This commit is contained in:
parent
d7e25772b0
commit
2b3093a687
@ -50,7 +50,8 @@ int main(int argc, char *argv[])
|
||||
// enable logging
|
||||
if (argc < 3)
|
||||
{
|
||||
SimpleLogger().Write(logWARNING) << "usage:\n" << argv[0] << " <osrm> <osrm.restrictions>";
|
||||
SimpleLogger().Write(logWARNING) << "usage:\n" << argv[0]
|
||||
<< " <osrm> <osrm.restrictions>";
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -76,7 +77,7 @@ int main(int argc, char *argv[])
|
||||
restrictions_vector.resize(usable_restriction_count);
|
||||
|
||||
// load restrictions
|
||||
if (usable_restriction_count>0)
|
||||
if (usable_restriction_count > 0)
|
||||
{
|
||||
restriction_ifstream.read((char *)&(restrictions_vector[0]),
|
||||
usable_restriction_count * sizeof(TurnRestriction));
|
||||
@ -109,8 +110,7 @@ int main(int argc, char *argv[])
|
||||
// Building an edge-expanded graph from node-based input an turn
|
||||
// restrictions
|
||||
SimpleLogger().Write() << "Starting SCC graph traversal";
|
||||
std::shared_ptr<TarjanSCC> tarjan =
|
||||
std::make_shared<TarjanSCC>(number_of_nodes,
|
||||
std::shared_ptr<TarjanSCC> tarjan = std::make_shared<TarjanSCC>(number_of_nodes,
|
||||
edge_list,
|
||||
bollard_ID_list,
|
||||
trafficlight_ID_list,
|
||||
|
Loading…
Reference in New Issue
Block a user