remove bounding box validity check (ref #3611)
This commit is contained in:
parent
ab206321b5
commit
8cc7060ef1
1 changed files with 4 additions and 4 deletions
|
@ -64,10 +64,10 @@ struct push_box_impl
|
||||||
template <typename T0, typename T1, typename T2, typename T3>
|
template <typename T0, typename T1, typename T2, typename T3>
|
||||||
void operator() (T0 & boxes, T1 const& begin, T2 const& box, T3 const& range) const
|
void operator() (T0 & boxes, T1 const& begin, T2 const& box, T3 const& range) const
|
||||||
{
|
{
|
||||||
if (box.valid()) boxes.emplace_back(box,
|
boxes.emplace_back(box,
|
||||||
std::make_pair(std::distance(begin,
|
std::make_pair(std::distance(begin,
|
||||||
range.begin()),
|
range.begin()),
|
||||||
std::distance(range.begin(), range.end())));
|
std::distance(range.begin(), range.end())));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue