diff --git a/src/endpoints/routing.cc b/src/endpoints/routing.cc index 9906581d2..a6f7b4457 100644 --- a/src/endpoints/routing.cc +++ b/src/endpoints/routing.cc @@ -299,8 +299,7 @@ std::optional calculate_search_cutoff_time( std::optional const& max_travel_time) { if (max_travel_time.has_value()) { // Add +1 to keep journeys with equal duration - auto const max_travel_duration = - n::duration_t{*max_travel_time + 1}; + auto const max_travel_duration = n::duration_t{*max_travel_time + 1}; return fastest_direct == kInfinityDuration ? max_travel_duration : std::min(fastest_direct, max_travel_duration);