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

LibCore: Return StringView from guess_mime_type_based_on_filename method

This commit is contained in:
Liav A 2023-01-20 01:57:33 +02:00 committed by Linus Groh
parent 2428ba3832
commit e77b110541
2 changed files with 24 additions and 24 deletions

View file

@ -48,7 +48,7 @@ private:
HashMap<DeprecatedString, ByteBuffer> m_data;
};
DeprecatedString guess_mime_type_based_on_filename(StringView);
StringView guess_mime_type_based_on_filename(StringView);
Optional<DeprecatedString> guess_mime_type_based_on_sniffed_bytes(ReadonlyBytes);