From 70ae6d57f21cdf87e801a6e35f1ccdde7445e179 Mon Sep 17 00:00:00 2001 From: Raimon Zamora Date: Tue, 18 Nov 2025 08:41:02 +0100 Subject: [PATCH] =?UTF-8?q?-=20Conversi=C3=B3=20a=20string=20explicita?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 0724a19..803be1a 100644 --- a/main.cpp +++ b/main.cpp @@ -305,7 +305,7 @@ int main(int argc, char *argv[]) std::string path = "./" + src_path; for (const auto & entry : std::filesystem::directory_iterator(path)) { - std::string source_file = entry.path(); + std::string source_file = entry.path().string(); std::string file_extension = getFileExtension(source_file); if (file_extension=="cpp" || file_extension=="c") {