diff --git a/src/utils/error.hpp b/src/utils/error.hpp index fb82221..0446b0b 100644 --- a/src/utils/error.hpp +++ b/src/utils/error.hpp @@ -128,7 +128,7 @@ namespace detail { const char* signature, source_location location ) { - if(as_bool(condition)) { + if(!as_bool(condition)) { assert_fail(type, args, signature, location, message); } }