{decoder,archive,playlist}/plugin: pass std::string_view to SupportsMimeType()

This commit is contained in:
Max Kellermann
2020-11-04 20:29:25 +01:00
parent 53396c0e50
commit 19dd1a25d7
13 changed files with 28 additions and 36 deletions

View File

@@ -172,7 +172,7 @@ decoder_check_plugin_mime(const DecoderPlugin &plugin,
const char *mime_type = is.GetMimeType();
return mime_type != nullptr &&
plugin.SupportsMimeType(GetMimeTypeBase(mime_type).c_str());
plugin.SupportsMimeType(GetMimeTypeBase(mime_type));
}
gcc_pure