Skip to content

Commit f23deb3

Browse files
committed
Remove parameter as it is not used internally
1 parent 89ef292 commit f23deb3

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

AABB_tree/include/CGAL/AABB_tree.h

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -577,8 +577,7 @@ namespace CGAL {
577577
ConstPrimitiveIterator beyond,
578578
const std::size_t range,
579579
const ComputeBbox& compute_bbox,
580-
const SplitPrimitives& split_primitives,
581-
const AABBTraits&);
580+
const SplitPrimitives& split_primitives);
582581

583582
public:
584583
// returns a point which must be on one primitive
@@ -794,8 +793,7 @@ namespace CGAL {
794793
ConstPrimitiveIterator beyond,
795794
const std::size_t range,
796795
const ComputeBbox& compute_bbox,
797-
const SplitPrimitives& split_primitives,
798-
const Tr& traits)
796+
const SplitPrimitives& split_primitives)
799797
{
800798
node.set_bbox(compute_bbox(first, beyond));
801799

@@ -809,13 +807,13 @@ namespace CGAL {
809807
break;
810808
case 3:
811809
node.set_children(*first, new_node());
812-
expand(node.right_child(), first+1, beyond, 2, compute_bbox, split_primitives, traits);
810+
expand(node.right_child(), first+1, beyond, 2, compute_bbox, split_primitives);
813811
break;
814812
default:
815813
const std::size_t new_range = range/2;
816814
node.set_children(new_node(), new_node());
817-
expand(node.left_child(), first, first + new_range, new_range, compute_bbox, split_primitives, traits);
818-
expand(node.right_child(), first + new_range, beyond, range - new_range, compute_bbox, split_primitives, traits);
815+
expand(node.left_child(), first, first + new_range, new_range, compute_bbox, split_primitives);
816+
expand(node.right_child(), first + new_range, beyond, range - new_range, compute_bbox, split_primitives);
819817
}
820818
}
821819

@@ -847,8 +845,7 @@ namespace CGAL {
847845
m_primitives.begin(), m_primitives.end(),
848846
m_primitives.size(),
849847
compute_bbox,
850-
split_primitives,
851-
m_traits);
848+
split_primitives);
852849
}
853850
#ifdef CGAL_HAS_THREADS
854851
m_atomic_need_build.store(false, std::memory_order_release); // in case build() is triggered by a call to root_node()

0 commit comments

Comments
 (0)