mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-04-14 23:58:36 +00:00
gui: Remove const on max_elems_
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
@@ -116,7 +116,7 @@ template <typename CoordinateT, typename ElementT> class QuadTreeNode
|
||||
BoundingBox bound_;
|
||||
// How many elements should be contained in this node until it splits into
|
||||
// sub-nodes.
|
||||
const size_t max_elems_;
|
||||
size_t max_elems_;
|
||||
// Four sub-nodes or nullptr if it hasn't split yet.
|
||||
std::unique_ptr<QuadTreeNode<CoordinateT, ElementT>[]> children_ = nullptr;
|
||||
// Coordinates of the split.
|
||||
|
||||
Reference in New Issue
Block a user