From d0382caa8880c3ac5e2b8bf0a660b349f52eb159 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 30 Jun 2022 10:57:47 +0200 Subject: [PATCH] tag/ApeLoader: use std::string_view --- src/tag/ApeLoader.cxx | 1 - src/tag/ApeLoader.hxx | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/tag/ApeLoader.cxx b/src/tag/ApeLoader.cxx index ade1dd600..2df432d6c 100644 --- a/src/tag/ApeLoader.cxx +++ b/src/tag/ApeLoader.cxx @@ -20,7 +20,6 @@ #include "ApeLoader.hxx" #include "util/ByteOrder.hxx" #include "input/InputStream.hxx" -#include "util/StringView.hxx" #include #include diff --git a/src/tag/ApeLoader.hxx b/src/tag/ApeLoader.hxx index 343fe0f56..1cad86687 100644 --- a/src/tag/ApeLoader.hxx +++ b/src/tag/ApeLoader.hxx @@ -21,12 +21,12 @@ #define MPD_APE_LOADER_HXX #include +#include -struct StringView; class InputStream; typedef std::function ApeTagCallback; + std::string_view value)> ApeTagCallback; /** * Scans the APE tag values from a file.