revive on_plugin_load

This commit is contained in:
Artem Pavlenko 2018-03-13 16:37:42 +01:00
parent 085ed86f9e
commit 49edaec2cb

View file

@ -60,7 +60,6 @@ using mapnik::filter_in_box;
using mapnik::filter_at_point;
static std::once_flag once_flag;
#if 0
extern "C" MAPNIK_EXP void on_plugin_load()
{
// initialize ogr formats
@ -69,7 +68,6 @@ extern "C" MAPNIK_EXP void on_plugin_load()
OGRRegisterAll();
});
}
#endif
ogr_datasource::ogr_datasource(parameters const& params)
: datasource(params),