From 3dbeb1ee4f7f5108d5c530fd890e4744cef9404d Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Mon, 27 Feb 2023 09:22:17 +0000 Subject: [PATCH] Use explicit boost::filesystem::path::value_type to std::string conversion (win) --- utils/mapnik-render/mapnik-render.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/mapnik-render/mapnik-render.cpp b/utils/mapnik-render/mapnik-render.cpp index dca0eb6b6..e8de4d708 100644 --- a/utils/mapnik-render/mapnik-render.cpp +++ b/utils/mapnik-render/mapnik-render.cpp @@ -148,7 +148,7 @@ int main(int argc, char** argv) { fs::path p(vm["plugins-dir"].as()); p = p.parent_path() / "fonts"; - mapnik::freetype_engine::register_fonts(p.c_str(), true); + mapnik::freetype_engine::register_fonts(p.string(), true); } catch (...) {}