osrm-backend/unit_tests/partitioner
Michael Bell 96acdaf0d5 Fix osrm-contract, tests, on Windows
As part of graph contraction, node renumbering leads to
in-place permuting of graph state, including boolean vector elements.

std::vector<bool> returns proxy objects when referencing individual
bits. To correctly swap bool elements using MSVC, we need to explicitly
apply std::vector<bool>::swap.

Making this change fixes osrm-contract on Windows.

We also correct failing tests and other undefined behaviours
(mainly iterator access outside boundaries) highlighted by MSVC.
2020-11-15 14:22:26 +00:00
..
bisection_graph_view.cpp Removed references to obsolete Boost.Test headers. 2020-09-02 13:16:44 +03:00
bisection_graph.cpp Removed references to obsolete Boost.Test headers. 2020-09-02 13:16:44 +03:00
bisection_to_partition.cpp Rename namespace partition to partitioner 2018-02-02 11:07:18 +01:00
cell_storage.cpp Rename namespace partition to partitioner 2018-02-02 11:07:18 +01:00
dinic.cpp Removed references to obsolete Boost.Test headers. 2020-09-02 13:16:44 +03:00
graph_generator.hpp Rename namespace partition to partitioner 2018-02-02 11:07:18 +01:00
multi_level_graph.cpp Removed references to obsolete Boost.Test headers. 2020-09-02 13:16:44 +03:00
multi_level_partition.cpp Fix osrm-contract, tests, on Windows 2020-11-15 14:22:26 +00:00
recursive_bisection.cpp Merge pull request #5813 from woltapp/tbbdeprecation 2020-09-08 11:17:32 +03:00
remove_unconnected.cpp Rename namespace partition to partitioner 2018-02-02 11:07:18 +01:00
renumber.cpp Replace dynamic distance calculation for table plugin with pre-calculated distances on shortcuts, avoiding unpacking cost. 2018-10-30 15:41:06 -07:00
reorder_first_last.cpp Removed references to obsolete Boost.Test headers. 2020-09-02 13:16:44 +03:00
scc_integration.cpp Removed references to obsolete Boost.Test headers. 2020-09-02 13:16:44 +03:00