From 4011338e2911f70c426f3981b2afb18e0ebfcead Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 3 Mar 2024 09:37:17 +0100 Subject: c --- test/critter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/critter.cpp b/test/critter.cpp index f8f75485..0a959317 100644 --- a/test/critter.cpp +++ b/test/critter.cpp @@ -56,10 +56,10 @@ void run(StringView name, const F& make_dt, critter& npc, const Ns max_time, last_pos = pos; Debug{} << "-" << pos << colon(',') << time; - if (time > max_time) + if (time > max_time) [[unlikely]] { if (verbose) - Debug{&std::cerr} << "timeout:" << max_time << "reached!"; + Error{&std::cerr} << "timeout:" << max_time << "reached!"; fm_EMIT_ABORT(); } -- cgit v1.2.3