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/thread.h | |
parent | a99ac62c1ab816ee48cac85fdf834f9fdc599cb1 (diff) | |
download | openttd-55a11710a6c0f7942f3947711f2050c34782c39d.tar.xz |
Codechange: convert printf DEBUG statements to fmt Debug statements
Diffstat (limited to 'src/thread.h')
-rw-r--r-- | src/thread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread.h b/src/thread.h index f2a47e7bf..bcd469081 100644 --- a/src/thread.h +++ b/src/thread.h @@ -66,7 +66,7 @@ inline bool StartNewThread(std::thread *thr, const char *name, TFn&& _Fx, TArgs& return true; } catch (const std::system_error& e) { /* Something went wrong, the system we are running on might not support threads. */ - DEBUG(misc, 1, "Can't create thread '%s': %s", name, e.what()); + Debug(misc, 1, "Can't create thread '{}': {}", name, e.what()); } #endif |