mark all dtors which are virtual because base class dtor is virtual explicitly virtual themselves
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -41,7 +41,7 @@ class LifeCanvas : public wxWindow
|
||||
public:
|
||||
// ctor and dtor
|
||||
LifeCanvas(wxWindow* parent, Life* life, bool interactive = true);
|
||||
~LifeCanvas();
|
||||
virtual ~LifeCanvas();
|
||||
|
||||
// view management
|
||||
int GetCellSize() const { return m_cellsize; };
|
||||
@@ -122,7 +122,7 @@ class LifeFrame : public wxFrame
|
||||
public:
|
||||
// ctor and dtor
|
||||
LifeFrame();
|
||||
~LifeFrame();
|
||||
virtual ~LifeFrame();
|
||||
|
||||
// member functions
|
||||
void UpdateInfoText();
|
||||
|
Reference in New Issue
Block a user