mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-11 20:16:02 +00:00
AK: Replace C-style casts
This commit is contained in:
parent
7d6908d9a5
commit
067d0689c5
Notes:
sideshowbarker
2024-07-18 22:57:59 +09:00
Author: https://github.com/AtkinsSJ
Commit: 067d0689c5
Pull-request: https://github.com/SerenityOS/serenity/pull/17745
Reviewed-by: https://github.com/kleinesfilmroellchen
14 changed files with 49 additions and 49 deletions
|
@ -276,7 +276,7 @@ public:
|
|||
{
|
||||
if (buffer.is_empty())
|
||||
return empty();
|
||||
return DeprecatedString((char const*)buffer.data(), buffer.size(), should_chomp);
|
||||
return DeprecatedString(reinterpret_cast<char const*>(buffer.data()), buffer.size(), should_chomp);
|
||||
}
|
||||
|
||||
[[nodiscard]] static DeprecatedString vformatted(StringView fmtstr, TypeErasedFormatParams&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue