Use path.string() to fix Windows (#2658)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user