From 12d21666e8352eb71ac355bdfbf2b401ba852e13 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Mon, 12 Sep 2022 10:08:35 -0400 Subject: Fix old crap that prevented windows compat efforts from working. Thanks BLumia for debugging. --- tests/testdrive_sqlite.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/testdrive_sqlite.cpp') 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 &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 &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 -- cgit v1.2.3