Skip to content

fix: make AttributeReference's SetType be a std::set #23

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

Merged
merged 1 commit into from
Apr 17, 2023

Conversation

cwaldren-ld
Copy link
Contributor

@cwaldren-ld cwaldren-ld commented Apr 17, 2023

I've been ignoring this one for a while; the AttributeReference tests fail on mac because the array order in the JSON comparisons are different on Mac, apparently.

Fixed by changing AttributeReference::SetType to a std::set.

Perhaps we could query the JSON instead, or sort at rendering time, but I'm not sure that complexity is worth adding at the moment.

@cwaldren-ld cwaldren-ld marked this pull request as ready for review April 17, 2023 22:34
@cwaldren-ld cwaldren-ld requested a review from kinyoklion April 17, 2023 22:34
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.

2 participants