Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Straightforward_intersection: don't create name_no_abbrev() objects #262

Open
2 tasks
yakra opened this issue Oct 30, 2023 · 0 comments
Open
2 tasks

Straightforward_intersection: don't create name_no_abbrev() objects #262

yakra opened this issue Oct 30, 2023 · 0 comments

Comments

@yakra
Copy link
Owner

yakra commented Oct 30, 2023

if (taken || ap_coloc[0]->route->name_no_abbrev() == ap_coloc[1]->route->name_no_abbrev())

->

if (taken || ap_coloc[0]->route->route  == ap_coloc[1]->route->route
	  && ap_coloc[0]->route->banner == ap_coloc[1]->route->banner
   )
  • Although, how often do we even get this deep into the conditionals?
  • Waypoint::label_references_route: strncmp first the route then the banner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant