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

Set 'engaged' flag on assignment correctly #97

Merged

Conversation

jiixyj
Copy link
Contributor

@jiixyj jiixyj commented Dec 31, 2024

Also, refactor some other places to make use of the 'construct' helper that handles the flag.

This adds some tests for the non-trivial assignment operators, for all six cases:

  • copy/move from engaged to engaged
  • copy/move from engaged to empty
  • copy/move from empty to engaged

Also, refactor some other places to make use of the 'construct' helper
that handles the flag.
@coveralls
Copy link

coveralls commented Dec 31, 2024

Coverage Status

coverage: 93.015% (+1.8%) from 91.209%
when pulling 9a60702 on jiixyj:set-engaged-flag-on-assignment
into f4cd4b7 on bemanproject:main.

Copy link
Member

@steve-downey steve-downey left a comment

Choose a reason for hiding this comment

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

👍

@neatudarius neatudarius merged commit 08c8477 into bemanproject:main Jan 2, 2025
9 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.

4 participants