diff options
-rw-r--r-- | tests/testdrive.cpp | 4 | ||||
-rw-r--r-- | tests/testdrive_sqlite.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/testdrive.cpp b/tests/testdrive.cpp index 4d449de..0ae323b 100644 --- a/tests/testdrive.cpp +++ b/tests/testdrive.cpp @@ -180,7 +180,7 @@ void build_file_list(fs::path path, bool recursive, std::vector<fs::path> &out) if (st.gcount() < 6) continue; if(!memcmp(c,"\x89PNG\r\n", 6) || !memcmp(c,"\xff\xd8\xff", 3)) { - out.push_back(p.path().string()); + out.push_back(p.path()); #if DEBUG > 0 printf("%ld, %s\n", out.size() - 1, out.back().c_str()); #endif @@ -199,7 +199,7 @@ void build_file_list(fs::path path, bool recursive, std::vector<fs::path> &out) if (st.gcount() < 6) continue; if(!memcmp(c,"\x89PNG\r\n", 6) || !memcmp(c,"\xff\xd8\xff", 3)) { - out.push_back(p.path().string()); + out.push_back(p.path()); #if DEBUG > 0 printf("%ld, %s\n", out.size() - 1, out.back().c_str()); #endif diff --git a/tests/testdrive_sqlite.cpp b/tests/testdrive_sqlite.cpp index 42f176e..168d974 100644 --- a/tests/testdrive_sqlite.cpp +++ b/tests/testdrive_sqlite.cpp @@ -175,7 +175,7 @@ void build_file_list(fs::path path, bool recursive, std::vector<fs::path> &out) if (st.gcount() < 6) continue; if(!memcmp(c,"\x89PNG\r\n", 6) || !memcmp(c,"\xff\xd8\xff", 3)) { - out.push_back(p.path().string()); + out.push_back(p.path()); #if DEBUG > 0 printf("%ld, %s\n", out.size() - 1, out.back().c_str()); #endif @@ -194,7 +194,7 @@ void build_file_list(fs::path path, bool recursive, std::vector<fs::path> &out) if (st.gcount() < 6) continue; if(!memcmp(c,"\x89PNG\r\n", 6) || !memcmp(c,"\xff\xd8\xff", 3)) { - out.push_back(p.path().string()); + out.push_back(p.path()); #if DEBUG > 0 printf("%ld, %s\n", out.size() - 1, out.back().c_str()); #endif |