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

fix: deduplicate inherited members #722

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

sdkrystian
Copy link
Member

No description provided.

@sdkrystian
Copy link
Member Author

closes #721

@@ -75,7 +75,8 @@ class TrancheBuilder
std::vector<SymbolID>& M,
const Info& I)
{
M.emplace_back(I.id);
if(std::ranges::find(M, I.id) == M.end())
Copy link
Collaborator

Choose a reason for hiding this comment

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

Will this ensure we take the right inherited member, though?

Copy link
Member Author

Choose a reason for hiding this comment

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

@alandefreitas All this does is ensure that elements in the tranche are unique.

Copy link
Collaborator

@alandefreitas alandefreitas Oct 30, 2024

Choose a reason for hiding this comment

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

So, let's at least open another issue about ensuring dominance

@cppalliance-bot
Copy link

An automated preview of the documentation is available at https://722.mrdocs.prtest2.cppalliance.org/index.html

@sdkrystian sdkrystian merged commit 91c6871 into cppalliance:develop Oct 30, 2024
11 checks passed
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