Don't delete Simulation::Elements now that it's not runtime allocated
This commit is contained in:
parent
93afe0a1ea
commit
0092229132
@ -4528,7 +4528,6 @@ void Simulation::update_particles()//doesn't update the particles themselves, bu
|
||||
|
||||
Simulation::~Simulation()
|
||||
{
|
||||
delete[] elements;
|
||||
delete[] platent;
|
||||
delete grav;
|
||||
delete air;
|
||||
|
Loading…
Reference in New Issue
Block a user