From fa35d54009da00a8bdb2a193f3977001138ecb3b Mon Sep 17 00:00:00 2001 From: Mohammed Alyousef Date: Tue, 15 Sep 2020 19:14:15 +0300 Subject: [PATCH] fix path ostream --- src/gen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gen.cpp b/src/gen.cpp index ad8764d..50ac553 100644 --- a/src/gen.cpp +++ b/src/gen.cpp @@ -180,7 +180,7 @@ int generate_cmake(const char *path) { auto ext = path.extension(); for (const auto& f: fs::directory_iterator(path.parent_path())) { if (f.path().extension() == ext) { - ss << "\t" << f << "\n"; + ss << "\t" << f.path() << "\n"; } } } else {