call mapnik::setup automatically

This commit is contained in:
Mathis Logemann 2022-03-15 17:34:51 +01:00
parent 515a7e8279
commit 4493a06878

View file

@ -39,3 +39,12 @@ void register_image_readers()
#endif #endif
} }
} // namespace mapnik } // namespace mapnik
namespace {
class AutoSetup final
{
public:
AutoSetup() { mapnik::setup(); };
};
AutoSetup auto_setup{};
} // namespace