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

Implement get_mut that doesn't add, renaming #1167

Merged
merged 4 commits into from
Mar 8, 2024
Merged

Conversation

SanderMertens
Copy link
Owner

@SanderMertens SanderMertens commented Mar 8, 2024

This PR:

  • renames ensure to make_alive
  • changes the return type of get_mut from T* to T& in the C++ API
  • renames get_mut to ensure
  • adds a new get_mut that will never add the component

For more information on this breaking change, see #466 (comment)

@SanderMertens SanderMertens merged commit fd68a2f into master Mar 8, 2024
68 checks passed
@SanderMertens SanderMertens deleted the get_redesign branch March 8, 2024 17:10
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.

1 participant