mirror of https://github.com/CGAL/cgal
Merge pull request #5288 from mglisse/Triangulation-small_vector-glisse
Use a small_vector in Delaunay_triangulation
This commit is contained in:
commit
13c1fa25ec
|
|
@ -21,6 +21,7 @@
|
|||
#include <CGAL/Dimension.h>
|
||||
#include <CGAL/Default.h>
|
||||
|
||||
#include <boost/container/small_vector.hpp>
|
||||
#include <CGAL/boost/iterator/transform_iterator.hpp>
|
||||
|
||||
#include <algorithm>
|
||||
|
|
@ -792,7 +793,7 @@ Delaunay_triangulation<DCTraits, TDS>
|
|||
{
|
||||
CGAL_precondition_msg( ! is_infinite(s), "full cell must be finite");
|
||||
CGAL_expensive_precondition( POSITIVE == orientation(s) );
|
||||
typedef std::vector<const Point *> Points;
|
||||
typedef boost::container::small_vector<const Point *, 8> Points;
|
||||
Points points(current_dimension() + 2);
|
||||
int i(0);
|
||||
for( ; i <= current_dimension(); ++i )
|
||||
|
|
|
|||
Loading…
Reference in New Issue