diff --git a/AK/StringBuilder.h b/AK/StringBuilder.h index 21b684e170..7342426be5 100644 --- a/AK/StringBuilder.h +++ b/AK/StringBuilder.h @@ -63,9 +63,10 @@ public: #ifndef KERNEL [[nodiscard]] DeprecatedString to_deprecated_string() const; - ErrorOr to_string() const; #endif + ErrorOr to_string() const; + [[nodiscard]] ByteBuffer to_byte_buffer() const; [[nodiscard]] StringView string_view() const;