Incorrect usage of flushes fixed. Thanks to Dennis Schieferdecker.
This commit is contained in:
		
							parent
							
								
									eead597c9e
								
							
						
					
					
						commit
						18b278fe1d
					
				| @ -197,8 +197,9 @@ int main (int argc, char *argv[]) | ||||
|         { | ||||
|             NodeMap::iterator it = AllNodes.find(UsedNodes[i]); | ||||
|             assert(it!=AllNodes.end()); | ||||
|             fout << UsedNodes[i] << " " << it->second.lon << " " << it->second.lat << "\n" << flush; | ||||
|             fout << UsedNodes[i] << " " << it->second.lon << " " << it->second.lat << "\n"; | ||||
|         } | ||||
|         fout << flush; | ||||
|         UsedNodes.clear(); | ||||
|         fout << stats.numberOfEdges << endl; | ||||
|         for(vector<_Way>::size_type i = 0; i < UsedWays.size(); i++) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user