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

Remove throw from ~IlmThread #1124

Merged

Conversation

cary-ilm
Copy link
Member

@cary-ilm cary-ilm commented Aug 5, 2021

It's unnecessary and it causes a warning.

Signed-off-by: Cary Phillips cary@ilm.com

It's unnecessary and it causes a warning.

Signed-off-by: Cary Phillips <cary@ilm.com>
Copy link
Contributor

@meshula meshula left a comment

Choose a reason for hiding this comment

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

Would a static_assert be appropriate here?

@cary-ilm
Copy link
Member Author

cary-ilm commented Aug 5, 2021

The throw in the constructor should suffice to ensure the class is never used on the platform in question.

@cary-ilm cary-ilm merged commit 7887947 into AcademySoftwareFoundation:master Aug 5, 2021
cary-ilm added a commit to cary-ilm/openexr that referenced this pull request Sep 23, 2021
It's unnecessary and it causes a warning.

Signed-off-by: Cary Phillips <cary@ilm.com>
cary-ilm added a commit that referenced this pull request Sep 29, 2021
It's unnecessary and it causes a warning.

Signed-off-by: Cary Phillips <cary@ilm.com>
@cary-ilm cary-ilm deleted the thread-destructor branch November 5, 2022 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants