summaryrefslogtreecommitdiffhomepage
path: root/bench/critter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/critter.cpp')
-rw-r--r--bench/critter.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/bench/critter.cpp b/bench/critter.cpp
index 418a4f9e..d8548452 100644
--- a/bench/critter.cpp
+++ b/bench/critter.cpp
@@ -1,4 +1,5 @@
#include "compat/debug.hpp"
+#include "compat/assert.hpp"
#include "compat/function2.hpp"
#include "src/critter.hpp"
#include "src/world.hpp"
@@ -15,6 +16,7 @@ namespace floormat {
namespace {
+namespace fm_debug = floormat::debug::detail;
using enum rotation;
using fu2::function_view;
using Function = function_view<Ns() const>;
@@ -137,7 +139,7 @@ bool run(world& w, const function_view<Ns() const>& make_dt,
if (b) [[likely]]
return false;
else
- fm_emit_assert_fail("false", file, line);
+ fm_debug::emit_abort(file, line, "false");
};
for (i = 0; true; i++)