diff --git a/include/mapnik/text/symbolizer_helpers.hpp b/include/mapnik/text/symbolizer_helpers.hpp index c7e23a37e..ce31a04b7 100644 --- a/include/mapnik/text/symbolizer_helpers.hpp +++ b/include/mapnik/text/symbolizer_helpers.hpp @@ -43,7 +43,7 @@ struct placement_finder_adapter points_on_line_(points_on_line) {} template - void add_path(PathT & path) + void add_path(PathT & path) const { status_ = finder_.find_line_placements(path, points_on_line_); } diff --git a/src/text/symbolizer_helpers.cpp b/src/text/symbolizer_helpers.cpp index 3f558fad3..03e5bc148 100644 --- a/src/text/symbolizer_helpers.cpp +++ b/src/text/symbolizer_helpers.cpp @@ -335,7 +335,7 @@ bool text_symbolizer_helper::next_line_placement() const { auto const& line = util::get const>(*geo_itr_); geometry::line_string_vertex_adapter va(line); - //converter_.apply(va, adapter_); + converter_.apply(va, adapter_); if (adapter_.status()) { //Found a placement