Skip to content

Commit

Permalink
Replace Child_list with Children
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonCampolattaro committed Aug 3, 2020
1 parent 771ac61 commit 575d56c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Octree/include/CGAL/Octree/Node.h
Expand Up @@ -44,7 +44,7 @@ class Node {
/*!
* \brief array for containing the child nodes of this node
*/
typedef std::array<Node<Point_index>, 8> Child_list;
typedef std::array<Node<Point_index>, 8> Children;

/*!
* \brief set of bits representing this node's relationship to its parent
Expand Down Expand Up @@ -83,7 +83,7 @@ class Node {

Int_location m_location;

std::unique_ptr<Child_list> m_children;
std::unique_ptr<Children> m_children;

public:

Expand Down Expand Up @@ -134,7 +134,7 @@ class Node {

assert(is_leaf());

m_children = std::make_unique<Child_list>();
m_children = std::make_unique<Children>();
for (int index = 0; index < 8; index++) {

(*m_children)[index] = std::move(Node<Point_index>(this, {Index(index)}));
Expand Down

0 comments on commit 575d56c

Please sign in to comment.