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

Move Selection to its own header. #306

Merged
merged 2 commits into from
Nov 8, 2023

Conversation

1uc
Copy link
Collaborator

@1uc 1uc commented Nov 7, 2023

The new header is <bbp/sonata/selection.h> and it's included in <bbp/sonata/population.h. This ensures doesn't affect which include provide Selection in an adverse way.

The new header is `<bbp/sonata/selection.h>` and it's included in
`<bbp/sonata/population.h`. This ensures doesn't affect which include provide
`Selection` in an adverse way.
@1uc
Copy link
Collaborator Author

1uc commented Nov 7, 2023

Splitting the two help avoid cyclic problems, e.g. if one want to add a class that requires Selection but is itself used in Population. Then without splitting the header the new class must be at the right position in population.h.

@1uc 1uc marked this pull request as ready for review November 7, 2023 10:53
@joni-herttuainen joni-herttuainen merged commit f5737b6 into master Nov 8, 2023
29 checks passed
@joni-herttuainen joni-herttuainen deleted the 1uc/split-selection-header branch November 8, 2023 14:36
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