Use explicit boost::filesystem::path::value_type to std::string conversion (win)

This commit is contained in:
Artem Pavlenko 2023-02-27 09:22:17 +00:00
parent 21d31bf62e
commit 3dbeb1ee4f

View file

@ -148,7 +148,7 @@ int main(int argc, char** argv)
{ {
fs::path p(vm["plugins-dir"].as<std::string>()); fs::path p(vm["plugins-dir"].as<std::string>());
p = p.parent_path() / "fonts"; p = p.parent_path() / "fonts";
mapnik::freetype_engine::register_fonts(p.c_str(), true); mapnik::freetype_engine::register_fonts(p.string(), true);
} }
catch (...) catch (...)
{} {}