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

add wrapper structs for ids, to reduce probability of confusion between different types of ids #6

Merged
merged 7 commits into from
May 24, 2024

Conversation

nilspenzel
Copy link
Contributor

add id_types, to recognize if the wrong type of id is used in a function
at compile time. Also ensure that only vectors, which are supposed to be
indexed by ids are accessed via id.

at compile time. Also ensure that only vectors, which are supposed to be
indexed by ids are accessed via id.
@nilspenzel nilspenzel requested a review from felixguendling May 21, 2024 14:34
@felixguendling felixguendling marked this pull request as draft May 24, 2024 08:23
Copy link
Member

@felixguendling felixguendling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI is red

@felixguendling felixguendling marked this pull request as ready for review May 24, 2024 13:41
@felixguendling felixguendling merged commit 967ad2b into motis-project:master May 24, 2024
1 check passed
@nilspenzel nilspenzel deleted the id_types_pull_request branch July 4, 2024 03:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants