1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:47:35 +00:00

LibCore: Use fallible version of StringBuilder::to_byte_buffer

... in MimeData.

This function isn't used anywhere, not sure if it's useful?
This commit is contained in:
Karol Baraniecki 2023-03-07 14:31:34 +01:00 committed by Linus Groh
parent 63c4bdf5dc
commit 68d3f348d9
2 changed files with 5 additions and 3 deletions

View file

@ -34,7 +34,7 @@ public:
// Convenience helpers for "text/uri-list"
bool has_urls() const { return has_format("text/uri-list"); }
Vector<URL> urls() const;
void set_urls(Vector<URL> const&);
ErrorOr<void> set_urls(Vector<URL> const&);
HashMap<DeprecatedString, ByteBuffer> const& all_data() const { return m_data; }