This commit is contained in:
Artem Pavlenko 2018-03-01 12:11:03 +01:00 committed by Jiri Drbalek
parent 4510c77d55
commit 8e933607a7

View file

@ -108,7 +108,7 @@ struct apply_vertex_placement
proj_transform const& prj_trans_; proj_transform const& prj_trans_;
}; };
template <template <typename, typename> typename GridAdapter, typename T, typename Points> template <template <typename, typename> class GridAdapter, typename T, typename Points>
struct grid_placement_finder_adapter struct grid_placement_finder_adapter
{ {
grid_placement_finder_adapter(T dx, T dy, Points & points, double scale_factor) grid_placement_finder_adapter(T dx, T dy, Points & points, double scale_factor)
@ -560,7 +560,7 @@ void text_symbolizer_helper::init_marker() const
finder_.set_marker(std::make_shared<marker_info>(marker, trans), bbox, unlock_image, marker_displacement); finder_.set_marker(std::make_shared<marker_info>(marker, trans), bbox, unlock_image, marker_displacement);
} }
template <template <typename, typename> typename GridAdapter> template <template <typename, typename> class GridAdapter>
void text_symbolizer_helper::initialize_grid_points() const void text_symbolizer_helper::initialize_grid_points() const
{ {
for (auto const& geom : geometries_to_process_) for (auto const& geom : geometries_to_process_)