diff --git a/CHANGELOG.md b/CHANGELOG.md index 2347d2102a8..16061a5cbd3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ - API: - FIXED: Fix inefficient osrm-routed connection handling [#6113](https://github.com/Project-OSRM/osrm-backend/pull/6113) - 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) - Build: - CHANGED: Configure Undefined Behaviour Sanitizer. [#6290](https://github.com/Project-OSRM/osrm-backend/pull/6290) diff --git a/src/updater/updater.cpp b/src/updater/updater.cpp index 38a491042e0..9301c804b95 100644 --- a/src/updater/updater.cpp +++ b/src/updater/updater.cpp @@ -144,7 +144,7 @@ updateSegmentData(const UpdaterConfig &config, const SegmentLookupTable &segment_speed_lookup, extractor::SegmentDataContainer &segment_data, std::vector &coordinates, - extractor::PackedOSMIDs &osm_node_ids) + const extractor::PackedOSMIDs &osm_node_ids) { // vector to count used speeds for logging // 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, std::vector &turn_weight_penalties, std::vector &turn_duration_penalties, - extractor::PackedOSMIDs osm_node_ids) + const extractor::PackedOSMIDs &osm_node_ids) { const auto weight_multiplier = profile_properties.GetWeightMultiplier();