summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-06 17:30:31 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-06 17:30:31 +0200
commit437dd5940bad6133561cb896cd558881fa5c8b44 (patch)
treeb8f8103801d0f232ae05e728e83774673ae8413f /compat
parentded69f52906990cf975a62c0efbaca4b6cfa5e88 (diff)
a
Diffstat (limited to 'compat')
-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) \