fix benchmark compile
This commit is contained in:
parent
d1adabf7d5
commit
758f75dcaa
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ public:
|
||||||
mapnik::freetype_engine::font_memory_cache_type font_cache;
|
mapnik::freetype_engine::font_memory_cache_type font_cache;
|
||||||
for (std::string const& name : mapnik::freetype_engine::face_names())
|
for (std::string const& name : mapnik::freetype_engine::face_names())
|
||||||
{
|
{
|
||||||
mapnik::face_ptr f = engine.create_face(name,font_file_mapping,font_cache);
|
mapnik::face_ptr f = engine.create_face(name,engine.get_library(),font_file_mapping,font_cache);
|
||||||
if (f) ++count;
|
if (f) ++count;
|
||||||
}
|
}
|
||||||
return count == expected_count;
|
return count == expected_count;
|
||||||
|
@ -32,7 +32,7 @@ public:
|
||||||
mapnik::freetype_engine::font_memory_cache_type font_cache;
|
mapnik::freetype_engine::font_memory_cache_type font_cache;
|
||||||
for (std::string const& name : mapnik::freetype_engine::face_names())
|
for (std::string const& name : mapnik::freetype_engine::face_names())
|
||||||
{
|
{
|
||||||
mapnik::face_ptr f = engine.create_face(name,font_file_mapping,font_cache);
|
mapnik::face_ptr f = engine.create_face(name,engine.get_library(),font_file_mapping,font_cache);
|
||||||
if (f) ++count;
|
if (f) ++count;
|
||||||
}
|
}
|
||||||
if (count != expected_count) {
|
if (count != expected_count) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue