Core/Vmaps: Use unique_ptr in RegularGrid2D and DynamicTree classes

This commit is contained in:
Shauren
2025-10-23 19:50:56 +02:00
parent 01df927c0f
commit f10eb2f1bf
3 changed files with 11 additions and 24 deletions

View File

@@ -101,10 +101,7 @@ struct DynTreeImpl : public ParentTree/*, public Intersectable*/
DynamicMapTree::DynamicMapTree() : impl(new DynTreeImpl()) { }
DynamicMapTree::~DynamicMapTree()
{
delete impl;
}
DynamicMapTree::~DynamicMapTree() = default;
void DynamicMapTree::insert(GameObjectModel const& mdl)
{