added MAPNIK_DECL to interior and polylabel explicit template

This commit is contained in:
Mathis Logemann 2020-11-21 18:19:58 +01:00
parent b11ef9d44b
commit 45fd654898
2 changed files with 8 additions and 8 deletions

View file

@ -232,7 +232,7 @@ bool interior(polygon<T> const& polygon, double scale_factor, point<T> & pt)
return true;
}
template
template MAPNIK_DECL
bool interior(polygon<double> const& polygon, double scale_factor, point<double> & pt);
} }

View file

@ -46,14 +46,14 @@ bool polylabel(polygon<T> const& polygon, T precision, point<T> & pt)
return true;
}
template
bool polylabel(polygon<double> const& polygon,
double precision,
point<double> & pt);
template MAPNIK_DECL
bool polylabel(polygon<double> const& polygon,
double precision,
point<double> & pt);
template
double polylabel_precision(polygon<double> const& polygon,
double scale_factor);
template MAPNIK_DECL
double polylabel_precision(polygon<double> const& polygon,
double scale_factor);
} }