Pass osm_node_ids by reference in osrm::updater::Updater class (#6298)
This commit is contained in:
parent
e7185b4bcb
commit
f19247a7ca
@ -4,6 +4,7 @@
|
|||||||
- FIXED: Use Boost.Beast to parse HTTP request. [#6294](https://github.com/Project-OSRM/osrm-backend/pull/6294)
|
- FIXED: Use Boost.Beast to parse HTTP request. [#6294](https://github.com/Project-OSRM/osrm-backend/pull/6294)
|
||||||
- FIXED: Fix inefficient osrm-routed connection handling [#6113](https://github.com/Project-OSRM/osrm-backend/pull/6113)
|
- FIXED: Fix inefficient osrm-routed connection handling [#6113](https://github.com/Project-OSRM/osrm-backend/pull/6113)
|
||||||
- Misc:
|
- Misc:
|
||||||
|
- CHANGED: Pass osm_node_ids by reference in osrm::updater::Updater class. [#6298](https://github.com/Project-OSRM/osrm-backend/pull/6298)
|
||||||
- FIXED: Fix bug with reading Set values from Lua scripts. [#6285](https://github.com/Project-OSRM/osrm-backend/pull/6285)
|
- FIXED: Fix bug with reading Set values from Lua scripts. [#6285](https://github.com/Project-OSRM/osrm-backend/pull/6285)
|
||||||
- Build:
|
- Build:
|
||||||
- CHANGED: Configure Undefined Behaviour Sanitizer. [#6290](https://github.com/Project-OSRM/osrm-backend/pull/6290)
|
- CHANGED: Configure Undefined Behaviour Sanitizer. [#6290](https://github.com/Project-OSRM/osrm-backend/pull/6290)
|
||||||
|
@ -144,7 +144,7 @@ updateSegmentData(const UpdaterConfig &config,
|
|||||||
const SegmentLookupTable &segment_speed_lookup,
|
const SegmentLookupTable &segment_speed_lookup,
|
||||||
extractor::SegmentDataContainer &segment_data,
|
extractor::SegmentDataContainer &segment_data,
|
||||||
std::vector<util::Coordinate> &coordinates,
|
std::vector<util::Coordinate> &coordinates,
|
||||||
extractor::PackedOSMIDs &osm_node_ids)
|
const extractor::PackedOSMIDs &osm_node_ids)
|
||||||
{
|
{
|
||||||
// vector to count used speeds for logging
|
// vector to count used speeds for logging
|
||||||
// size offset by one since index 0 is used for speeds not from external file
|
// size offset by one since index 0 is used for speeds not from external file
|
||||||
@ -422,7 +422,7 @@ updateTurnPenalties(const UpdaterConfig &config,
|
|||||||
const TurnLookupTable &turn_penalty_lookup,
|
const TurnLookupTable &turn_penalty_lookup,
|
||||||
std::vector<TurnPenalty> &turn_weight_penalties,
|
std::vector<TurnPenalty> &turn_weight_penalties,
|
||||||
std::vector<TurnPenalty> &turn_duration_penalties,
|
std::vector<TurnPenalty> &turn_duration_penalties,
|
||||||
extractor::PackedOSMIDs osm_node_ids)
|
const extractor::PackedOSMIDs &osm_node_ids)
|
||||||
{
|
{
|
||||||
const auto weight_multiplier = profile_properties.GetWeightMultiplier();
|
const auto weight_multiplier = profile_properties.GetWeightMultiplier();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user