Files
osrm-backend/include/util
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
..
2018-03-26 11:02:04 +00:00
2016-05-27 21:05:04 +02:00
2016-12-15 10:58:17 +01:00
2016-06-27 10:07:43 +02:00
2016-04-05 22:58:32 +02:00
2017-09-15 15:01:17 +02:00
2020-08-20 11:54:02 +03:00
2018-03-26 11:02:33 +00:00
2018-02-06 11:51:33 +01:00
2018-03-26 11:02:34 +00:00
2016-05-27 21:05:04 +02:00
2017-06-02 10:00:07 +02:00
2016-05-26 20:25:33 +02:00
2018-04-24 15:40:57 +02:00
2020-08-20 11:54:02 +03:00
2018-02-13 12:54:52 +01:00
2016-05-27 21:05:04 +02:00