From cdefee3524ed510ab61cbacda939c1e325520323 Mon Sep 17 00:00:00 2001 From: Jiri Drbalek Date: Fri, 2 Dec 2016 15:55:50 +0000 Subject: [PATCH] remove redundant code --- src/text/symbolizer_helpers.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/text/symbolizer_helpers.cpp b/src/text/symbolizer_helpers.cpp index fe5568ad2..80e4b2dd2 100644 --- a/src/text/symbolizer_helpers.cpp +++ b/src/text/symbolizer_helpers.cpp @@ -189,12 +189,6 @@ base_symbolizer_helper::base_symbolizer_helper( struct largest_bbox_first { - bool operator() (geometry::geometry const* g0, geometry::geometry const* g1) const - { - box2d b0 = geometry::envelope(*g0); - box2d b1 = geometry::envelope(*g1); - return b0.width() * b0.height() > b1.width() * b1.height(); - } bool operator() (base_symbolizer_helper::geometry_cref const& g0, base_symbolizer_helper::geometry_cref const& g1) const {