playlist/Registry: use std::string_view instead of StringView

This commit is contained in:
Max Kellermann 2022-07-04 14:36:19 +02:00
parent 6c8a85a391
commit 04c924ae3b
2 changed files with 1 additions and 3 deletions

View File

@ -35,7 +35,6 @@
#include "decoder/Features.h"
#include "input/InputStream.hxx"
#include "util/MimeType.hxx"
#include "util/StringView.hxx"
#include "util/UriExtract.hxx"
#include "config/Data.hxx"
#include "config/Block.hxx"
@ -194,7 +193,7 @@ playlist_list_open_uri(const char *uri, Mutex &mutex)
}
static std::unique_ptr<SongEnumerator>
playlist_list_open_stream_mime2(InputStreamPtr &&is, StringView mime)
playlist_list_open_stream_mime2(InputStreamPtr &&is, std::string_view mime)
{
playlist_plugins_for_each_enabled(plugin) {
if (plugin->open_stream != nullptr &&

View File

@ -23,7 +23,6 @@
#include "input/InputStream.hxx"
#include "input/LocalOpen.hxx"
#include "fs/Path.hxx"
#include "util/StringView.hxx"
#include "util/UriExtract.hxx"
#include "Log.hxx"