Since moving to Visual Studio 2019, when adding a item class there is no longer an option for virtual destructor. Is there an option to re-enable it?
I don't really know how I should compensate for this. Ty in advance
before:
Now:
Since moving to Visual Studio 2019, when adding a item class there is no longer an option for virtual destructor. Is there an option to re-enable it?
I don't really know how I should compensate for this. Ty in advance
before:
Now:
Solved, still dont know why the feature is gone. But just add the deconstructor yourself.
Here's an example
class Game
{
public:
Game(); //constructor
virtual ~Game(); //destructor
};