mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:17:35 +00:00
AK: Remove String::format()
There are no more clients of this function, everyone has been converted to String::formatted().
This commit is contained in:
parent
0005fa0e2b
commit
edf0b14e23
2 changed files with 1 additions and 14 deletions
|
@ -50,7 +50,7 @@ namespace AK {
|
|||
//
|
||||
// s = String("some literal");
|
||||
//
|
||||
// s = String::format("%d little piggies", m_piggies);
|
||||
// s = String::formatted("{} little piggies", m_piggies);
|
||||
//
|
||||
// StringBuilder builder;
|
||||
// builder.append("abc");
|
||||
|
@ -265,8 +265,6 @@ public:
|
|||
return String((const char*)buffer.data(), buffer.size(), should_chomp);
|
||||
}
|
||||
|
||||
[[nodiscard]] static String format(const char*, ...) __attribute__((format(printf, 1, 2)));
|
||||
|
||||
[[nodiscard]] static String vformatted(StringView fmtstr, TypeErasedFormatParams);
|
||||
|
||||
template<typename... Parameters>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue