mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:47:45 +00:00
AK: Enable format string warnings for AK printf wrappers
This commit is contained in:
parent
9bf76a85c8
commit
ccf4368ca5
2 changed files with 2 additions and 2 deletions
|
@ -244,7 +244,7 @@ public:
|
|||
return String((const char*)buffer.data(), buffer.size(), should_chomp);
|
||||
}
|
||||
|
||||
static String format(const char*, ...);
|
||||
static String format(const char*, ...) __attribute__((format(printf, 1, 2)));
|
||||
|
||||
static String vformatted(StringView fmtstr, TypeErasedFormatParams);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue