Revert to deque

This commit is contained in:
Andreas Fabri 2023-01-02 10:46:01 +00:00
parent 9023aaa542
commit ae271b08f7
1 changed files with 3 additions and 4 deletions

View File

@ -23,10 +23,10 @@
#include <CGAL/Lazy_kernel.h> #include <CGAL/Lazy_kernel.h>
#include <CGAL/Cartesian.h> #include <CGAL/Cartesian.h>
#include <boost/container/deque.hpp>
#include <sstream> #include <sstream>
#include <string> #include <string>
#include <map>
#include <vector>
#undef CGAL_NEF_DEBUG #undef CGAL_NEF_DEBUG
#define CGAL_NEF_DEBUG 503 #define CGAL_NEF_DEBUG 503
@ -210,7 +210,7 @@ private:
Object_list object_list; Object_list object_list;
}; };
typedef std::vector<Node> Node_range; typedef boost::container::deque<Node> Node_range;
typedef Node* Node_handle; typedef Node* Node_handle;
@ -437,7 +437,6 @@ public:
CGAL_NEF_TRACEN("reference counted " << reference_counted); CGAL_NEF_TRACEN("reference counted " << reference_counted);
#endif #endif
non_efective_splits=0; non_efective_splits=0;
nodes.reserve(vertices.size() + edges.size() + facets.size());
root = build_kdtree(vertices, edges, facets, 0); root = build_kdtree(vertices, edges, facets, 0);
} }
const Object_list& objects_around_point( const Point_3& p) const { const Object_list& objects_around_point( const Point_3& p) const {