Skip to content
Snippets Groups Projects
Commit 2f003fd5 authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

MAINT-5011: Throw an actual exception in Force Software Exception.

http://en.cppreference.com/w/cpp/language/throw says of the plain throw syntax:

"This form is only allowed when an exception is presently being handled (it
calls std::terminate if used otherwise)."

On advice from Oz, replace plain 'throw;' with throwing a std::runtime_error.
parent 21e8352d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment