diff options
author | MacDue <macdue@dueutil.tech> | 2023-01-12 22:14:12 +0000 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-01-12 23:29:57 +0000 |
commit | 514224c015c28fc57e605f9ffb44d9ca48902e5b (patch) | |
tree | d30a600d293fe384b6f9804841917ac5a1c682e9 /AK/IPv6Address.h | |
parent | 35e1e1236012afd8e31aadf0f28250c730d598da (diff) | |
download | serenity-514224c015c28fc57e605f9ffb44d9ca48902e5b.zip |
AK: Fix ignored .to_string() errors in IPv6Address
Diffstat (limited to 'AK/IPv6Address.h')
-rw-r--r-- | AK/IPv6Address.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/IPv6Address.h b/AK/IPv6Address.h index c7d006a515..b6b47e27ce 100644 --- a/AK/IPv6Address.h +++ b/AK/IPv6Address.h @@ -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 |