From 8cc7060ef1d8d3279600b82043ed41a670050fd7 Mon Sep 17 00:00:00 2001 From: artemp Date: Fri, 3 Feb 2017 17:20:25 +0100 Subject: [PATCH] remove bounding box validity check (ref #3611) --- include/mapnik/json/extract_bounding_box_grammar_impl.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/mapnik/json/extract_bounding_box_grammar_impl.hpp b/include/mapnik/json/extract_bounding_box_grammar_impl.hpp index bdc1b98b2..6be94a954 100644 --- a/include/mapnik/json/extract_bounding_box_grammar_impl.hpp +++ b/include/mapnik/json/extract_bounding_box_grammar_impl.hpp @@ -64,10 +64,10 @@ struct push_box_impl template void operator() (T0 & boxes, T1 const& begin, T2 const& box, T3 const& range) const { - if (box.valid()) boxes.emplace_back(box, - std::make_pair(std::distance(begin, - range.begin()), - std::distance(range.begin(), range.end()))); + boxes.emplace_back(box, + std::make_pair(std::distance(begin, + range.begin()), + std::distance(range.begin(), range.end()))); } };