mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:47:35 +00:00
LibELF: Convert String::format() => String::formatted()
This commit is contained in:
parent
7254d4c4b8
commit
0005fa0e2b
1 changed files with 1 additions and 1 deletions
|
@ -398,7 +398,7 @@ String Image::symbolicate(u32 address, u32* out_offset) const
|
|||
*out_offset = address - symbol.address;
|
||||
return demangled_name;
|
||||
}
|
||||
return String::format("%s +0x%x", demangled_name.characters(), address - symbol.address);
|
||||
return String::formatted("{} +{:#x}", demangled_name, address - symbol.address);
|
||||
}
|
||||
}
|
||||
if (out_offset)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue