gui: Remove const on max_elems_
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
parent
a0e360fd9f
commit
4220ce1007
@ -116,7 +116,7 @@ template <typename CoordinateT, typename ElementT> class QuadTreeNode
|
|||||||
BoundingBox bound_;
|
BoundingBox bound_;
|
||||||
// How many elements should be contained in this node until it splits into
|
// How many elements should be contained in this node until it splits into
|
||||||
// sub-nodes.
|
// sub-nodes.
|
||||||
const size_t max_elems_;
|
size_t max_elems_;
|
||||||
// Four sub-nodes or nullptr if it hasn't split yet.
|
// Four sub-nodes or nullptr if it hasn't split yet.
|
||||||
std::unique_ptr<QuadTreeNode<CoordinateT, ElementT>[]> children_ = nullptr;
|
std::unique_ptr<QuadTreeNode<CoordinateT, ElementT>[]> children_ = nullptr;
|
||||||
// Coordinates of the split.
|
// Coordinates of the split.
|
||||||
|
Loading…
Reference in New Issue
Block a user