Use path.string() to fix Windows (#2658)

This commit is contained in:
Bart Louwers
2024-07-29 18:36:22 +02:00
committed by GitHub
parent 1fa3bb4cd8
commit 77bb8871e0

View File

@@ -13,7 +13,7 @@ namespace {
std::string toAbsoluteURL(const std::string &fileName) {
auto path = std::filesystem::current_path() / "test/fixtures/storage/mbtiles" / fileName;
return "mbtiles://" + std::string(path);
return "mbtiles://" + path.string();
}
} // namespace