diff options
author | Max Kellermann <max@musicpd.org> | 2020-04-03 16:25:08 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2020-04-03 16:25:09 +0200 |
commit | 747436b17e41d0e1e01b843b0b977e813a957aaa (patch) | |
tree | 3a486067563550f4ca5e5de4b9d77d793ad4af8f /src/db/plugins/simple | |
parent | 7a58b8c3e8fef24358eb501da93ec6d2bf2de181 (diff) |
db,storage: pass std::string_view to PathTraits::Build()
Diffstat (limited to 'src/db/plugins/simple')
-rw-r--r-- | src/db/plugins/simple/Song.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/plugins/simple/Song.cxx b/src/db/plugins/simple/Song.cxx index 702db8bed..3da13b9ea 100644 --- a/src/db/plugins/simple/Song.cxx +++ b/src/db/plugins/simple/Song.cxx @@ -41,7 +41,7 @@ Song::GetURI() const noexcept return filename; else { const char *path = parent.GetPath(); - return PathTraitsUTF8::Build(path, filename.c_str()); + return PathTraitsUTF8::Build(path, filename); } } |