From 867a22c2a989b3f3a2bc47044226f5f9df6a59fd Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 5 Feb 2025 05:09:11 +0100 Subject: compat/assert: move internal functions to own namespace --- test/critter.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/critter.cpp') diff --git a/test/critter.cpp b/test/critter.cpp index 90619ce8..5b7ee52d 100644 --- a/test/critter.cpp +++ b/test/critter.cpp @@ -18,6 +18,8 @@ namespace floormat { namespace { +namespace fm_debug = floormat::debug::detail; + using enum rotation; using fu2::function_view; using Function = function_view; @@ -147,7 +149,7 @@ bool run(world& w, const function_view& 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++) -- cgit v1.2.3