fix benchmark compile

This commit is contained in:
Dane Springmeyer 2014-09-26 23:00:02 -07:00
parent d1adabf7d5
commit 758f75dcaa

View file

@ -16,7 +16,7 @@ public:
mapnik::freetype_engine::font_memory_cache_type font_cache;
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;
}
return count == expected_count;
@ -32,7 +32,7 @@ public:
mapnik::freetype_engine::font_memory_cache_type font_cache;
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 (count != expected_count) {