diff --git a/include/common/mathlib.hh b/include/common/mathlib.hh index 96e9675e..b45d32cc 100644 --- a/include/common/mathlib.hh +++ b/include/common/mathlib.hh @@ -735,9 +735,9 @@ public: return res_vec; } - octree_t(const aabb3 &box) - : m_nodes { octree_node_t(box, 0) } - {} + octree_t(const aabb3 &box) { + this->m_nodes.push_back(octree_node_t(box, 0)); + } }; template