summaryrefslogtreecommitdiffhomepage
path: root/test/critter.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-03-03 09:37:17 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-03-04 06:58:10 +0100
commit4011338e2911f70c426f3981b2afb18e0ebfcead (patch)
tree6588a4d608757e88b8bb60b1484c48322f282712 /test/critter.cpp
parent89d90859bd9a6788528ca2b6dec342d22ccfb925 (diff)
c
Diffstat (limited to 'test/critter.cpp')
-rw-r--r--test/critter.cpp4
1 files changed, 2 insertions, 2 deletions
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();
}