From 158033af485cd179ef4560012c2df7c69a14ef88 Mon Sep 17 00:00:00 2001 From: Ken Van Hoeylandt Date: Mon, 5 Jan 2026 22:15:59 +0100 Subject: [PATCH] Revert --- TactilityCore/Include/Tactility/Check.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TactilityCore/Include/Tactility/Check.h b/TactilityCore/Include/Tactility/Check.h index 84b89efc..dd14fb51 100644 --- a/TactilityCore/Include/Tactility/Check.h +++ b/TactilityCore/Include/Tactility/Check.h @@ -64,4 +64,5 @@ namespace tt { * @param[in] condition to check * @param[in] optional message (const char*) */ -#define tt_check(...) tt_check_internal(__VA_ARGS__) + +#define tt_check(x, ...) if (!(x)) { tt::Logger("Kernel").error("Check failed: {}", #x); tt::_crash(); }