-
Notifications
You must be signed in to change notification settings - Fork 357
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
Replace std::vector in SecondaryEvent with std::set #2507
Conversation
@jougs, could you take a look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good in principle, but I would go a bit further. See my comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@med-ayssar Thanks! I agree with all suggestions by @jougs. To simplify the workflow, I approve now, assuming that @jougs will only approve once you have followed up on his suggestions.
The
SecondaryEvent
class insecondary_event.h
uses thestd::vector
to implement the same logic as thestd::set
. Therefore, It is more appropriate to use directly theset
implementation.