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
2017-10-03 12:03:26 +02:00
2018-02-06 11:51:33 +01:00
2016-09-07 12:17:36 +02:00
2018-01-05 17:35:11 +01:00
2017-07-06 09:17:49 +00:00
2016-05-27 21:05:04 +02:00
2017-06-27 09:58:19 +00:00
2017-05-11 12:13:52 +02:00
2018-02-02 11:33:38 -05:00
2016-12-15 10:58:17 +01:00
2018-09-06 12:05:28 -04:00
2018-02-06 11:51:33 +01:00
2018-03-26 11:02:34 +00:00
2018-10-30 15:41:06 -07:00
2017-02-10 05:13:20 -05:00
2018-04-19 12:18:48 +02:00
2017-06-08 15:03:24 +00:00
2017-10-03 12:03:26 +02:00
2017-09-01 21:26:00 +02:00
2017-09-01 21:26:00 +02:00
2017-09-01 21:26:00 +02:00
2017-01-27 11:19:37 +01:00
2017-06-14 15:17:26 +00:00
2017-02-20 16:31:36 +00:00
2017-10-25 10:17:14 +02:00
2017-08-11 12:03:40 +02:00
2017-08-11 12:03:40 +02:00
2017-10-04 10:03:42 +02:00
2017-03-01 16:09:29 +00:00
2017-10-09 18:44:43 +02:00
2016-06-27 10:07:43 +02:00
2016-11-28 14:17:12 +01:00
2018-10-29 09:51:56 -07:00
2020-11-15 14:22:26 +00:00
2017-01-03 10:22:03 +01:00
2016-11-16 12:07:45 -08:00
2017-10-03 12:03:26 +02:00
2016-10-06 21:08:48 +02:00
2018-09-05 14:20:47 -07:00
2016-04-05 22:58:32 +02:00
2017-09-15 15:01:17 +02:00
2016-12-15 10:55:16 +01:00
2017-02-10 05:13:20 -05:00
2020-08-20 11:54:02 +03:00
2018-10-26 23:53:59 -07:00
2018-03-26 11:02:33 +00:00
2017-07-06 09:17:49 +00:00
2018-10-30 15:41:06 -07:00
2018-04-05 13:31:48 +02:00
2018-04-04 12:38:40 +02:00
2017-09-15 15:01:17 +02:00
2020-11-15 14:22:26 +00:00
2018-05-08 15:50:25 +00:00
2018-04-04 12:38:40 +02:00
2018-02-06 11:51:33 +01:00
2018-03-26 11:02:34 +00:00
2017-07-07 16:12:46 +00:00
2018-04-28 08:59:18 +02:00
2018-04-04 12:38:40 +02:00
2016-01-19 17:42:49 +01:00
2016-05-27 21:05:04 +02:00
2017-01-23 15:22:39 +01:00
2017-06-02 18:12:13 +00:00
2017-06-02 10:00:07 +02:00
2016-05-26 20:25:33 +02:00
2018-03-05 13:19:57 +01:00
2016-05-27 21:05:04 +02:00
2019-01-30 15:31:56 -08:00
2018-04-24 15:40:57 +02:00
2020-08-20 11:54:02 +03:00
2017-01-06 13:45:08 -08:00
2016-04-12 12:17:52 +02:00
2018-02-13 12:54:52 +01:00
2018-04-09 15:08:00 +02:00
2016-05-27 21:05:04 +02:00