From f4959e47a997604db78411b506ac543a77fb78d2 Mon Sep 17 00:00:00 2001 From: niansa Date: Thu, 18 Nov 2021 09:46:41 +0100 Subject: [PATCH] Do not rely on std::filesystem::path::operator string_type --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 6111dfd..07f44d9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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