Skip to content
Snippets Groups Projects
Commit 99c80c09 authored by Paul Gessinger's avatar Paul Gessinger Committed by Moritz Kiehn
Browse files

Introduce throw_assert

This does a runtime check even when not in debug (unlike plain assert) and throws an exception in case the assertion fails. This is used in a couple of places. I added tests to check the asserts actually throw.
parent a3a24751
No related branches found
No related tags found
Loading
Showing
with 145 additions and 9 deletions
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