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") {