From 77bb8871e0dbf5d148c7f02701c7291124acd308 Mon Sep 17 00:00:00 2001 From: Bart Louwers Date: Mon, 29 Jul 2024 18:36:22 +0200 Subject: [PATCH] Use path.string() to fix Windows (#2658) --- test/storage/mbtiles_file_source.test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/storage/mbtiles_file_source.test.cpp b/test/storage/mbtiles_file_source.test.cpp index ebf997c7f..6cfe9616a 100644 --- a/test/storage/mbtiles_file_source.test.cpp +++ b/test/storage/mbtiles_file_source.test.cpp @@ -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