Let traffic updates accept decimal edge_speed_in_km_h
This commit is contained in:
parent
dca35dcc86
commit
9e68008f8c
@ -37,7 +37,7 @@ SegmentLookupTable readSegmentValues(const std::vector<std::string> &paths)
|
||||
CSVFilesParser<Segment, SpeedSource> parser(
|
||||
1,
|
||||
qi::ulong_long >> ',' >> qi::ulong_long,
|
||||
qi::uint_ >> -(',' >> (qi::double_ | qi::attr(value_if_blank))));
|
||||
qi::double_ >> -(',' >> (qi::double_ | qi::attr(value_if_blank))));
|
||||
|
||||
// Check consistency of keys in the result lookup table
|
||||
auto result = parser(paths);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user