remove bounding box validity check (ref #3611)

This commit is contained in:
artemp 2017-02-03 17:20:25 +01:00
parent ab206321b5
commit 8cc7060ef1

View file

@ -64,10 +64,10 @@ struct push_box_impl
template <typename T0, typename T1, typename T2, typename T3>
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())));
}
};