mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
AK: Fix ignored .to_string() errors in IPv6Address
This commit is contained in:
parent
35e1e12360
commit
514224c015
Notes:
sideshowbarker
2024-07-17 01:46:51 +09:00
Author: https://github.com/MacDue Commit: https://github.com/SerenityOS/serenity/commit/514224c015 Pull-request: https://github.com/SerenityOS/serenity/pull/16986 Reviewed-by: https://github.com/linusg
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ template<>
|
|||
struct Formatter<IPv6Address> : Formatter<ErrorOr<NonnullOwnPtr<Kernel::KString>>> {
|
||||
ErrorOr<void> format(FormatBuilder& builder, IPv6Address const& value)
|
||||
{
|
||||
return Formatter<ErrorOr<NonnullOwnPtr<Kernel::KString>>>::format(builder, value.to_string());
|
||||
return Formatter<ErrorOr<NonnullOwnPtr<Kernel::KString>>>::format(builder, TRY(value.to_string()));
|
||||
}
|
||||
};
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue