-
Max Kellermann authored
Pass a std::string to PathTraitsUTF8::Relative(), implicitly casting it to std::string_view. This selects the right overload which returns std::string_view instead of `const char *`; the latter could return `nullptr` which would cause the implicit conversion of the return value to std::string_view to crash. Regression caused by commits ead20898 and a98d627c. Closes https://github.com/MusicPlayerDaemon/MPD/issues/995
f849b077
Name |
Last commit
|
Last update |
---|---|---|
.github | ||
android | ||
build | ||
doc | ||
python/build | ||
src | ||
subprojects | ||
systemd | ||
test | ||
win32 | ||
.clang-format | ||
.gitignore | ||
.travis.yml | ||
AUTHORS | ||
COPYING | ||
NEWS | ||
README.md | ||
meson.build | ||
meson_options.txt | ||
mpd.svg | ||
valgrind.suppressions |