summaryrefslogtreecommitdiff
path: root/src/playlist/PlaylistSong.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-03-13 19:58:36 +0100
committerMax Kellermann <max@musicpd.org>2020-03-13 19:58:36 +0100
commitcefc773992bcb87feb2874ea4b7a94ba8117ba44 (patch)
treee3946010bb5b06465f6100cf3e7b258c01ecff59 /src/playlist/PlaylistSong.hxx
parenta885bdba4ce2c3a077bc5e6c9654793dbe70bf3c (diff)
playlist/PlaylistSong: pass std::string_view
Diffstat (limited to 'src/playlist/PlaylistSong.hxx')
-rw-r--r--src/playlist/PlaylistSong.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/playlist/PlaylistSong.hxx b/src/playlist/PlaylistSong.hxx
index f733da725..8f077922b 100644
--- a/src/playlist/PlaylistSong.hxx
+++ b/src/playlist/PlaylistSong.hxx
@@ -20,6 +20,8 @@
#ifndef MPD_PLAYLIST_SONG_HXX
#define MPD_PLAYLIST_SONG_HXX
+#include <string_view>
+
class SongLoader;
class DetachedSong;
@@ -30,7 +32,7 @@ class DetachedSong;
* @return true on success, false if the song should not be used
*/
bool
-playlist_check_translate_song(DetachedSong &song, const char *base_uri,
+playlist_check_translate_song(DetachedSong &song, std::string_view base_uri,
const SongLoader &loader) noexcept;
#endif