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

BUG: Fix HDF5 implicit copy crashes. #924

Merged
merged 4 commits into from
Apr 23, 2024
Merged

Conversation

JDuffeyBQ
Copy link
Collaborator

@JDuffeyBQ JDuffeyBQ commented Apr 22, 2024

Some HDF5 classes didn't get the changes meant to fix #916. This PR fixes those ones and adds a unit test.

* Fixed some noexcept specifiers
* Fixed some override specifiers
* Made some empty constructors default

Signed-off-by: Jared Duffey <[email protected]>
* Moved support functions into anonymous namespace

Signed-off-by: Jared Duffey <[email protected]>
@imikejackson imikejackson changed the title Fix/hdf5 implicit copy BUG: Fix HDF5 implicit copy crashes. Apr 22, 2024
@JDuffeyBQ JDuffeyBQ marked this pull request as ready for review April 22, 2024 23:37
@imikejackson imikejackson self-requested a review April 23, 2024 15:30
Copy link
Contributor

@imikejackson imikejackson left a comment

Choose a reason for hiding this comment

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

function previously declared with an explicit exception specification redeclared with an implicit exception specification [-Wimplicit-exception-spec-mismatch]

There are 3 warnings that should be cleaned up before merge.

@JDuffeyBQ
Copy link
Collaborator Author

The CI and my machine only found one warning in DatasetIO (now fixed).

@JDuffeyBQ JDuffeyBQ requested a review from imikejackson April 23, 2024 19:32
@imikejackson imikejackson merged commit 1d80265 into develop Apr 23, 2024
8 checks passed
@imikejackson imikejackson deleted the fix/hdf5_implicit_copy branch April 23, 2024 20:46
imikejackson pushed a commit to imikejackson/simplnx that referenced this pull request Oct 20, 2024
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.

BUG: HDF5 classes prematurely close on implicit copy
2 participants