rename variable to have a longer, more telling name in Prepare

This commit is contained in:
Dennis Luxen 2014-08-08 12:41:57 +02:00
parent 9aeb28066d
commit d408a64c8c

View File

@ -108,7 +108,7 @@ int Prepare::Process(int argc, char *argv[])
FingerPrint fingerprint_orig; FingerPrint fingerprint_orig;
CheckRestrictionsFile(fingerprint_orig); CheckRestrictionsFile(fingerprint_orig);
boost::filesystem::ifstream in(input_path, std::ios::in | std::ios::binary); boost::filesystem::ifstream input_stream(input_path, std::ios::in | std::ios::binary);
node_filename = input_path.string() + ".nodes"; node_filename = input_path.string() + ".nodes";
edge_out = input_path.string() + ".edges"; edge_out = input_path.string() + ".edges";
@ -138,13 +138,13 @@ int Prepare::Process(int argc, char *argv[])
"changing ImportEdge type has influence on memory consumption!"); "changing ImportEdge type has influence on memory consumption!");
#endif #endif
NodeID number_of_node_based_nodes = NodeID number_of_node_based_nodes =
readBinaryOSRMGraphFromStream(in, readBinaryOSRMGraphFromStream(input_stream,
edge_list, edge_list,
barrier_node_list, barrier_node_list,
traffic_light_list, traffic_light_list,
&internal_to_external_node_map, &internal_to_external_node_map,
restriction_list); restriction_list);
in.close(); input_stream.close();
if (edge_list.empty()) if (edge_list.empty())
{ {