summaryrefslogtreecommitdiff
path: root/src/core/backup_type.hpp
diff options
context:
space:
mode:
authorrubidium42 <rubidium@openttd.org>2021-06-12 09:10:17 +0200
committerrubidium42 <rubidium42@users.noreply.github.com>2021-06-13 12:45:45 +0200
commit55a11710a6c0f7942f3947711f2050c34782c39d (patch)
tree491b3009324e623236977614e91371a0ea4abac7 /src/core/backup_type.hpp
parenta99ac62c1ab816ee48cac85fdf834f9fdc599cb1 (diff)
downloadopenttd-55a11710a6c0f7942f3947711f2050c34782c39d.tar.xz
Codechange: convert printf DEBUG statements to fmt Debug statements
Diffstat (limited to 'src/core/backup_type.hpp')
-rw-r--r--src/core/backup_type.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/backup_type.hpp b/src/core/backup_type.hpp
index 8c9c73851..fc67b73ad 100644
--- a/src/core/backup_type.hpp
+++ b/src/core/backup_type.hpp
@@ -51,7 +51,7 @@ struct Backup {
{
/* We cannot assert here, as missing restoration is 'normal' when exceptions are thrown.
* Exceptions are especially used to abort world generation. */
- DEBUG(misc, 0, "%s:%d: Backed-up value was not restored!", this->file, this->line);
+ Debug(misc, 0, "{}:{}: Backed-up value was not restored!", this->file, this->line);
this->Restore();
}
}