diff --git a/Core/include/Acts/TrackFitting/detail/GsfActor.hpp b/Core/include/Acts/TrackFitting/detail/GsfActor.hpp index e5bdf98cc9d..56d6cecd262 100644 --- a/Core/include/Acts/TrackFitting/detail/GsfActor.hpp +++ b/Core/include/Acts/TrackFitting/detail/GsfActor.hpp @@ -1,6 +1,6 @@ // This file is part of the Acts project. // -// Copyright (C) 2022-2024 CERN for the benefit of the Acts project +// Copyright (C) 2022 CERN for the benefit of the Acts project // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -28,7 +28,6 @@ #include #include #include -#include namespace Acts::detail { @@ -190,9 +189,9 @@ struct GsfActor { // that currentSurface is nullptr and all components are "on surface" (e.g., // for surfaces excluded from the navigation) using Status [[maybe_unused]] = Acts::Intersection3D::Status; - assert(std::ranges::all_of(stepperComponents, [](const auto& cmp) { - return cmp.status() == Status::onSurface; - })); + assert(std::all_of( + stepperComponents.begin(), stepperComponents.end(), + [](const auto& cmp) { return cmp.status() == Status::onSurface; })); // Early return if we already were on this surface TODO why is this // necessary