Skip to content

Commit

Permalink
Update MultiLayerNavigation.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
AJPfleger authored Sep 3, 2024
1 parent dfec315 commit 267f80e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Core/include/Acts/Navigation/MultiLayerNavigation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

#include <array>
#include <memory>
#include <ranges>

namespace Acts::Experimental {

Expand Down Expand Up @@ -118,7 +117,8 @@ class MultiLayerNavigation : public IInternalNavigation {
});

// Remove the duplicates
surfaces.erase(std::ranges::unique(surfaces).begin(), surfaces.end());
surfaces.erase(std::unique(surfaces.begin(), surfaces.end()),
surfaces.end());
}

private:
Expand Down

0 comments on commit 267f80e

Please sign in to comment.