Don't make destructors if you don't need to. The default destructors are sufficient for your use case.
Why is the destructor of GameOfLife virtual? You don't have any class that would need to inherit from it.
Don't make destructors if you don't need to. The default destructors are sufficient for your use case.
Why is the destructor of GameOfLife virtual? You don't have any class that would need to inherit from it.