input/Plugin: pass URI as std::string_view

This commit is contained in:
Max Kellermann
2025-01-30 11:20:52 +01:00
parent aee49d1c1c
commit 715ef846b6
35 changed files with 85 additions and 92 deletions

View File

@@ -36,7 +36,7 @@ RemoteTagCache::Lookup(const std::string &uri) noexcept
lock.unlock();
try {
item->scanner = InputScanTags(uri.c_str(), *item);
item->scanner = InputScanTags(uri, *item);
if (!item->scanner) {
/* unsupported */
lock.lock();