diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2025-02-05 05:09:11 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2025-02-05 06:22:42 +0100 |
| commit | 867a22c2a989b3f3a2bc47044226f5f9df6a59fd (patch) | |
| tree | 8231559aff691e08c36a18f9c8ef993f420d552f /bench/critter.cpp | |
| parent | 079696334dc0cb61b61788be99ed19bceb4c1fcd (diff) | |
compat/assert: move internal functions to own namespace
Diffstat (limited to 'bench/critter.cpp')
| -rw-r--r-- | bench/critter.cpp | 4 |
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++) |
