summaryrefslogtreecommitdiffhomepage
path: root/compat/assert.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/assert.hpp')
-rw-r--r--compat/assert.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/assert.hpp b/compat/assert.hpp
index 0d433274..e4dd827a 100644
--- a/compat/assert.hpp
+++ b/compat/assert.hpp
@@ -23,12 +23,12 @@ constexpr void abort(const char (&fmt)[N], Xs... xs)
namespace Magnum::Examples {
-#define ABORT(fmt, ...) \
+#define ABORT(...) \
do { \
if (std::is_constant_evaluated()) \
throw "aborting"; \
else \
- ::Magnum::Examples::detail:: abort(fmt, __VA_ARGS__); \
+ ::Magnum::Examples::detail:: abort(__VA_ARGS__); \
} while (false)
#define ASSERT(expr) \