Skip to content

Commit

Permalink
Merge pull request #1820 from tier4/sync-awf-latest
Browse files Browse the repository at this point in the history
chore: sync awf-latest
  • Loading branch information
tier4-autoware-public-bot[bot] authored Feb 14, 2025
2 parents 9eca833 + af3c38c commit 30867fa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions planning/autoware_route_handler/src/route_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,10 @@ bool exists(const std::vector<LaneletPrimitive> & primitives, const int64_t & id
return false;
}

template <typename T>
bool exists(const std::vector<T> & vectors, const T & item)
bool exists(const lanelet::ConstLanelets & vectors, const lanelet::ConstLanelet & item)
{
for (const auto & i : vectors) {
if (i == item) {
if (i.id() == item.id()) {
return true;
}
}
Expand Down

0 comments on commit 30867fa

Please sign in to comment.