File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -402,7 +402,7 @@ inline void readTurnDurationPenalty(const boost::filesystem::path &path, TurnPen
402
402
// writes .osrm.turn_penalties_index
403
403
template <typename TurnIndexT>
404
404
inline void writeTurnPenaltiesIndex (const boost::filesystem::path &path,
405
- const TurnIndexT &turn_penalties_index)
405
+ const TurnIndexT &turn_penalties_index)
406
406
{
407
407
const auto fingerprint = storage::tar::FileWriter::GenerateFingerprint;
408
408
storage::tar::FileWriter writer{path, fingerprint};
@@ -412,7 +412,8 @@ inline void writeTurnPenaltiesIndex(const boost::filesystem::path &path,
412
412
413
413
// read .osrm.turn_penalties_index
414
414
template <typename TurnIndexT>
415
- inline void readTurnPenaltiesIndex (const boost::filesystem::path &path, TurnIndexT &turn_penalties_index)
415
+ inline void readTurnPenaltiesIndex (const boost::filesystem::path &path,
416
+ TurnIndexT &turn_penalties_index)
416
417
{
417
418
const auto fingerprint = storage::tar::FileReader::VerifyFingerprint;
418
419
storage::tar::FileReader reader{path, fingerprint};
Original file line number Diff line number Diff line change @@ -1130,7 +1130,8 @@ void EdgeBasedGraphFactory::GenerateEdgeExpandedEdges(
1130
1130
indexed_conditionals);
1131
1131
1132
1132
// write weight penalties per turn
1133
- BOOST_ASSERT (turn_weight_penalties.size () == turn_duration_penalties.size () && turn_weight_penalties.size () == turn_penalties_index.size ());
1133
+ BOOST_ASSERT (turn_weight_penalties.size () == turn_duration_penalties.size () &&
1134
+ turn_weight_penalties.size () == turn_penalties_index.size ());
1134
1135
files::writeTurnWeightPenalty (turn_weight_penalties_filename, turn_weight_penalties);
1135
1136
files::writeTurnDurationPenalty (turn_duration_penalties_filename, turn_duration_penalties);
1136
1137
files::writeTurnPenaltiesIndex (turn_penalties_index_filename, turn_penalties_index);
Original file line number Diff line number Diff line change @@ -432,9 +432,10 @@ updateTurnPenalties(const UpdaterConfig &config,
432
432
{
433
433
const auto weight_multiplier = profile_properties.GetWeightMultiplier ();
434
434
435
- // [NOTE] turn_index_blocks could be simply loaded by `files::readTurnPenaltiesIndex()`,
436
- // however, we leave the below mmap to keep compatiblity.
437
- // Use `files::readTurnPenaltiesIndex()` instead once the compatiblity is not that important.
435
+ // [NOTE] turn_index_blocks could be simply loaded by `files::readTurnPenaltiesIndex()`,
436
+ // however, we leave the below mmap to keep compatiblity.
437
+ // Use `files::readTurnPenaltiesIndex()` instead once the compatiblity is not that
438
+ // important.
438
439
// Mapped file pointer for turn indices
439
440
boost::iostreams::mapped_file_source turn_index_region;
440
441
const extractor::lookup::TurnIndexBlock *turn_index_blocks;
You can’t perform that action at this time.
0 commit comments