Siarhei Fedartsou
3d2db20777
Enable more clang-tidy checks. ( #6270 )
...
* Enable more clang-tidy checks
2022-06-30 14:32:12 +01:00
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
Tomonobu Saito
9da6cf8764
add: comment for RasterCache class
2019-11-13 11:01:07 +09:00
Tomonobu Saito
ee177efe41
fix: remove unused include / add const for necessity portion
2019-11-08 16:15:38 +09:00
Tomonobu Saito
fd0f1b60bb
fix by revier comments
2019-11-06 11:06:29 +09:00
Tomonobu Saito
17f32f4ca1
fix coding format
2019-10-09 13:35:19 +09:00
Tomonobu Saito
542c3ba872
Add singletone class RasterCache to handle global cache data.
2019-10-09 13:02:59 +09:00
Tomonobu Saito
f36707d1fb
revert file mode to 664
2019-10-04 17:39:05 +09:00
Tomonobu Saito
a587b14006
destruct static vector and unorderd_map when last RasterContainer is destructed.
2019-10-04 17:30:35 +09:00
Tomonobu Saito
f9ee74d78e
Add x range check to avoid data corruption.
2019-10-04 16:47:31 +09:00
Tomonobu Saito
eef072234e
update delim chars
2019-10-04 15:14:20 +09:00
Tomonobu Saito
432d49e23d
bugfix: support multiple delimitor.
2019-10-04 13:50:13 +09:00
Tomonobu Saito
e4aaf07879
remove unused lines
2019-10-03 17:24:42 +09:00
Tomonobu Saito
d316ff9d41
Improvement of raster source loading to reduce consumed memory size.
2019-10-03 16:44:27 +09:00
Tomonobu.Saito (Desktop PC)
d8d9ac8686
Add assert to check memory allocation
2019-10-02 15:47:16 +09:00
Emil Tin
e413b25cd9
profiles api v2
2017-07-18 10:09:22 +00:00
Pepijn Schoen
a196d5ced3
Fingerprint .timestamp, normalize use of Size / GetSize and make that function Fingerprint-aware
2017-04-18 12:01:06 +00:00
Daniel Patterson
468d8c0031
Refactor logging, improve error handling workflow, clang-format. ( #3385 )
2016-12-06 12:30:46 -08:00
Daniel Patterson
5a311012af
Consolidate file reading through the new FileReader class/interface. ( #3321 )
2016-11-30 19:08:01 -08:00
Patrick Niklaus
6e16eab6ec
Format with clang-format 3.8
2016-05-27 21:05:04 +02:00
Patrick Niklaus
e470d1ae1c
Fix naming convention in RasterSource
2016-05-02 17:25:58 +02:00
Lauren Budorick
49e2cb6c36
Fix raster_source + tests
2016-04-05 22:59:14 +02:00
bergwerkgis
d0636a9f6d
make AppVeyor work again
2016-03-31 16:49:30 +02:00
Daniel J. Hofmann
64b36807d3
Transforms osrm_exception to exception
2016-02-12 15:46:24 -08:00
Patrick Niklaus
6991a38703
Run clang-format
2016-01-08 01:31:57 +01:00
Patrick Niklaus
6b18e4f7e9
Add namespace around all files
2016-01-08 01:30:52 +01:00
Daniel J. Hofmann
685d330ee2
Remove license headers from project source files; global license
2016-01-04 19:06:32 +01:00
Patrick Niklaus
97585bb26a
Fix include paths
2016-01-03 18:47:50 +01:00
Patrick Niklaus
bfc6c9b89d
Move files in src/ include/
2016-01-03 16:37:38 +01:00