diff --git a/Octree/include/CGAL/Octree/Node.h b/Octree/include/CGAL/Octree/Node.h index 04342304d01..793d6e28d8c 100644 --- a/Octree/include/CGAL/Octree/Node.h +++ b/Octree/include/CGAL/Octree/Node.h @@ -33,12 +33,16 @@ namespace CGAL { m_depth = parent->m_depth + 1; } + // The default constructor is enough + void split() { } void unsplit() { + // std::unique_ptr handles this nicely + m_children.reset(); } };