1
0
Fork 0
mirror of https://gitlab.com/niansa/descindex.git synced 2025-03-06 20:48:44 +01:00

Do not rely on std::filesystem::path::operator string_type

This commit is contained in:
niansa 2021-11-18 09:46:41 +01:00
parent ce3eefa62c
commit f4959e47a9

View file

@ -49,7 +49,7 @@ desc handle_media_dir(const std::filesystem::path& media_dir) {
// Open output file for writing
std::ofstream output(media_dir/"index.html");
// Get directory description
auto media_dir_desc = read_desc_file(media_dir/"desc.txt");
auto media_dir_desc = read_desc_file((media_dir/"desc.txt").string());
// Write out doctype
output << Template::doctype;
// Write out top