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

Reverted usage of select_on_container_copy_construction() #350

Closed
wants to merge 3 commits into from

Conversation

serges147
Copy link

@serges147 serges147 commented Oct 18, 2024

Reverted usage of select_on_container_copy_construction() - it broke libcyphal unit tests where there are unit tests which verify that there is no usage of the default PMR.

select_on_container_copy_construction() does exactly this - it create a completely new instance of allocator:

  • without transferring underlining memory resource
  • but instead getting the default pmr::memory_resource()

… broke libcyphal unit tests where there are unit tests which verify that there is no usage of the default PMR.

`select_on_container_copy_construction()` does exactly this - it create a completely new instance of allocator:
- without transferring underlining memory resource
- but instead getting the default `pmr::memory_resource()`
@serges147 serges147 changed the base branch from main to 3.0.preview October 18, 2024 13:01
@serges147 serges147 changed the title Sshirokov/3.0.preview union Reverted usage of select_on_container_copy_construction() Oct 18, 2024
@serges147 serges147 self-assigned this Oct 18, 2024
Copy link

@serges147
Copy link
Author

Closing this PR b/c with OpenCyphal-Garage/libcyphal#394 it is not needed anymore.

@serges147 serges147 closed this Nov 5, 2024
@serges147 serges147 deleted the sshirokov/3.0.preview_union branch November 8, 2024 07:17
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