tag/Handler: use std::string_view instead of StringView
This commit is contained in:
@@ -81,11 +81,11 @@ adplug_file_decode(DecoderClient &client, Path path_fs)
|
||||
}
|
||||
|
||||
static void
|
||||
adplug_scan_tag(TagType type, const std::string &value,
|
||||
adplug_scan_tag(TagType type, const std::string_view value,
|
||||
TagHandler &handler) noexcept
|
||||
{
|
||||
if (!value.empty())
|
||||
handler.OnTag(type, {value.data(), value.size()});
|
||||
handler.OnTag(type, value);
|
||||
}
|
||||
|
||||
static bool
|
||||
|
Reference in New Issue
Block a user