diff options
author | rubidium42 <rubidium@openttd.org> | 2021-06-12 09:10:17 +0200 |
---|---|---|
committer | rubidium42 <rubidium42@users.noreply.github.com> | 2021-06-13 12:45:45 +0200 |
commit | 55a11710a6c0f7942f3947711f2050c34782c39d (patch) | |
tree | 491b3009324e623236977614e91371a0ea4abac7 /src/order_cmd.cpp | |
parent | a99ac62c1ab816ee48cac85fdf834f9fdc599cb1 (diff) | |
download | openttd-55a11710a6c0f7942f3947711f2050c34782c39d.tar.xz |
Codechange: convert printf DEBUG statements to fmt Debug statements
Diffstat (limited to 'src/order_cmd.cpp')
-rw-r--r-- | src/order_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/order_cmd.cpp b/src/order_cmd.cpp index 1023bc12a..4c94bedc0 100644 --- a/src/order_cmd.cpp +++ b/src/order_cmd.cpp @@ -620,7 +620,7 @@ void OrderList::DebugCheckSanity() const Ticks check_timetable_duration = 0; Ticks check_total_duration = 0; - DEBUG(misc, 6, "Checking OrderList %hu for sanity...", this->index); + Debug(misc, 6, "Checking OrderList {} for sanity...", this->index); for (const Order *o = this->first; o != nullptr; o = o->next) { ++check_num_orders; @@ -638,7 +638,7 @@ void OrderList::DebugCheckSanity() const assert(v->orders.list == this); } assert(this->num_vehicles == check_num_vehicles); - DEBUG(misc, 6, "... detected %u orders (%u manual), %u vehicles, %i timetabled, %i total", + Debug(misc, 6, "... detected {} orders ({} manual), {} vehicles, {} timetabled, {} total", (uint)this->num_orders, (uint)this->num_manual_orders, this->num_vehicles, this->timetable_duration, this->total_duration); } |