db,storage: pass std::string_view to PathTraits::Build()

This commit is contained in:
Max Kellermann
2020-04-03 16:25:08 +02:00
parent 7a58b8c3e8
commit 747436b17e
8 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -322,7 +322,7 @@ UpdateWalk::UpdateDirectory(Directory &directory,
try {
Mutex mutex;
auto is = InputStream::OpenReady(PathTraitsUTF8::Build(storage.MapUTF8(directory.GetPath()).c_str(),
auto is = InputStream::OpenReady(PathTraitsUTF8::Build(storage.MapUTF8(directory.GetPath()),
".mpdignore").c_str(),
mutex);
child_exclude_list.Load(std::move(is));