tag/ApeLoader: use std::string_view
This commit is contained in:
parent
4765726bda
commit
d0382caa88
@ -20,7 +20,6 @@
|
|||||||
#include "ApeLoader.hxx"
|
#include "ApeLoader.hxx"
|
||||||
#include "util/ByteOrder.hxx"
|
#include "util/ByteOrder.hxx"
|
||||||
#include "input/InputStream.hxx"
|
#include "input/InputStream.hxx"
|
||||||
#include "util/StringView.hxx"
|
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
@ -21,12 +21,12 @@
|
|||||||
#define MPD_APE_LOADER_HXX
|
#define MPD_APE_LOADER_HXX
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
#include <string_view>
|
||||||
|
|
||||||
struct StringView;
|
|
||||||
class InputStream;
|
class InputStream;
|
||||||
|
|
||||||
typedef std::function<bool(unsigned long flags, const char *key,
|
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.
|
* Scans the APE tag values from a file.
|
||||||
|
Loading…
Reference in New Issue
Block a user