diff --git a/engine/libs/lowlevel/include/argus/lowlevel/error_util.hpp b/engine/libs/lowlevel/include/argus/lowlevel/error_util.hpp index fd23e0c7..02be9e10 100644 --- a/engine/libs/lowlevel/include/argus/lowlevel/error_util.hpp +++ b/engine/libs/lowlevel/include/argus/lowlevel/error_util.hpp @@ -20,7 +20,6 @@ #include "argus/lowlevel/crash.hpp" -#include #include #define validate_arg(cond, what) _validate_arg(cond, __func__, what) @@ -31,7 +30,7 @@ inline void _validate_arg(bool cond, const std::string &caller, const std::string &what) { if (!cond) { - throw std::invalid_argument(caller + ": " + what); + argus::crash_ll(caller + ": " + what); } }