Moved the GeometryCompressor's free_list_maximum into a member variable of the class. (+UniqueNumber() commented out since it is not being used anywhere in all of OSRM) There was absolutely no need for free_list_maximum to be a static variable and it caused major issues in my code. Short description: - I ran osrm-prepare's Prepare().Process(..) function in my own code multiple times for multiple files => After the first file is done, free_list_maximum is still on the same size, but a new GeometryCompressor will start at a size of 100 again. => Indices broken. |
||
---|---|---|
.. | ||
contractor.hpp | ||
edge_based_graph_factory.cpp | ||
edge_based_graph_factory.hpp | ||
geometry_compressor.cpp | ||
geometry_compressor.hpp | ||
processing_chain.cpp | ||
processing_chain.hpp |