mirror of https://github.com/CGAL/cgal
add validation for the range case
This commit is contained in:
parent
b364ff65ca
commit
5b731118f9
|
|
@ -642,6 +642,7 @@ public:
|
|||
unsigned int i = 1;
|
||||
for (InputIterator itr = begin; itr != end; ++itr, ++i)
|
||||
{
|
||||
ValidationPolicy::is_valid((*itr), *m_traits);
|
||||
arr_vec[i].first = new Aos_2(m_traits);
|
||||
_insert(*itr, *(arr_vec[i].first));
|
||||
}
|
||||
|
|
@ -666,6 +667,7 @@ public:
|
|||
unsigned int i = 1;
|
||||
for (InputIterator itr = begin; itr!=end; ++itr, ++i)
|
||||
{
|
||||
ValidationPolicy::is_valid((*itr), *m_traits);
|
||||
arr_vec[i].first = new Aos_2(m_traits);
|
||||
_insert(*itr, *(arr_vec[i].first));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue