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

Eliminate invalid throw from destructor #915

Merged
merged 1 commit into from
Apr 25, 2016
Merged

Eliminate invalid throw from destructor #915

merged 1 commit into from
Apr 25, 2016

Conversation

codemercenary
Copy link
Contributor

This has been here for a long time, but is actually incorrect behavior, and a throw here would result in an invocation of std::terminate.

This has been here for a long time, but is actually incorrect behavior, and a throw here would result in an invocation of `std::terminate`.
@codemercenary codemercenary added this to the v1.0.0 milestone Apr 24, 2016
@wmisha
Copy link
Contributor

wmisha commented Apr 25, 2016

Yeah, I also don't see what benefit you would get from throwing there.

@wmisha wmisha merged commit 1841da0 into master Apr 25, 2016
@wmisha wmisha deleted the fix-badthrow branch April 25, 2016 19:15
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.

2 participants