tag/ApeLoader: use std::string_view

This commit is contained in:
Max Kellermann 2022-06-30 10:57:47 +02:00
parent 4765726bda
commit d0382caa88
2 changed files with 2 additions and 3 deletions

View File

@ -20,7 +20,6 @@
#include "ApeLoader.hxx"
#include "util/ByteOrder.hxx"
#include "input/InputStream.hxx"
#include "util/StringView.hxx"
#include <cassert>
#include <cstdint>

View File

@ -21,12 +21,12 @@
#define MPD_APE_LOADER_HXX
#include <functional>
#include <string_view>
struct StringView;
class InputStream;
typedef std::function<bool(unsigned long flags, const char *key,
StringView value)> ApeTagCallback;
std::string_view value)> ApeTagCallback;
/**
* Scans the APE tag values from a file.