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:
parent
ce3eefa62c
commit
f4959e47a9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue