+ removed unused parameter from has_point_placement
This commit is contained in:
parent
a07767ef3d
commit
fe20652629
2 changed files with 2 additions and 2 deletions
|
@ -190,7 +190,7 @@ namespace mapnik
|
|||
return true;
|
||||
}
|
||||
|
||||
bool has_point_placement(Envelope<double> const& box, UnicodeString const& text, double distance)
|
||||
bool has_point_placement(Envelope<double> const& box, double distance)
|
||||
{
|
||||
Envelope<double> bigger_box(box.minx() - distance, box.miny() - distance, box.maxx() + distance, box.maxy() + distance);
|
||||
tree_t::query_iterator itr = tree_.query_in_box(bigger_box);
|
||||
|
|
|
@ -343,7 +343,7 @@ namespace mapnik
|
|||
}
|
||||
|
||||
if (!dimensions_.intersects(e) ||
|
||||
!detector_.has_point_placement(e, p.info.get_string(), p.minimum_distance))
|
||||
!detector_.has_point_placement(e, p.minimum_distance))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue