Skip to content
Snippets Groups Projects
Commit 7f35c195 authored by Benedikt (2xB)'s avatar Benedikt (2xB)
Browse files

Reset state before throwing error

When the runtime_error is caught, one should be able to call the same function and get the same error again. This is done by moving the `this->Initialized = 1;`  line behind the error throw.
parent e61bce9f
No related branches found
No related tags found
No related merge requests found
Pipeline #368215 waiting for manual action
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