From e0c75da266465ad94d3ee22937a69eb1f4f290c8 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 5 Oct 2020 20:27:31 +0200 Subject: playlist/cue/parser: pass StringView to Feed() --- src/playlist/cue/CueParser.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/playlist/cue/CueParser.hxx') diff --git a/src/playlist/cue/CueParser.hxx b/src/playlist/cue/CueParser.hxx index 3e7de2009..ba5e8d6cb 100644 --- a/src/playlist/cue/CueParser.hxx +++ b/src/playlist/cue/CueParser.hxx @@ -27,6 +27,8 @@ #include #include +struct StringView; + class CueParser { enum { /** @@ -104,7 +106,7 @@ public: * Feed a text line from the CUE file into the parser. Call * Get() after this to see if a song has been finished. */ - void Feed(const char *line) noexcept; + void Feed(StringView line) noexcept; /** * Tell the parser that the end of the file has been reached. Call -- cgit v1.2.3