From 901c27724b0a9c4e15ad14d4dac7f074955a5e2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20M=C3=B6ller?= Date: Wed, 11 Nov 2015 14:43:07 +0100 Subject: [PATCH] Use boost::priority_queue --- .../include/CGAL/internal/AABB_tree/AABB_ray_intersection.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AABB_tree/include/CGAL/internal/AABB_tree/AABB_ray_intersection.h b/AABB_tree/include/CGAL/internal/AABB_tree/AABB_ray_intersection.h index 9738ed221b7..99db0a88686 100644 --- a/AABB_tree/include/CGAL/internal/AABB_tree/AABB_ray_intersection.h +++ b/AABB_tree/include/CGAL/internal/AABB_tree/AABB_ray_intersection.h @@ -22,11 +22,11 @@ #ifndef CGAL_AABB_RAY_INTERSECTION_H #define CGAL_AABB_RAY_INTERSECTION_H -#include #include #include #include #include +#include #include @@ -47,8 +47,8 @@ public: // nb_primitives through a variable in each Node on the stack. In // BVH_node::traversal this is done through the function parameter // nb_primitives in the recursion. - typedef std::priority_queue< Node_ptr_with_ft, std::vector, - std::greater > Heap_type; + typedef boost::heap::priority_queue< Node_ptr_with_ft, boost::heap::compare< std::greater > > + Heap_type; typename AABB_traits::Intersection intersection_obj = tree_.traits().intersection_object();