More asserts

This commit is contained in:
2024-03-08 13:57:54 -05:00
parent d9932e18e7
commit 54aee74669

View File

@@ -95,6 +95,7 @@ namespace fgl::engine
m_node_data( NodeLeaf() ),
m_parent( parent )
{
assert( std::holds_alternative< NodeLeaf >( m_node_data ) );
std::get< NodeLeaf >( m_node_data ).reserve( MAX_NODES_IN_LEAF );
}