WaE: class has virtual functions, but destructor is not virtual

This commit is contained in:
Tor Lillqvist 2011-10-06 12:18:41 +03:00
parent 86bc0db00a
commit bdda05135e
2 changed files with 2 additions and 2 deletions

View file

@ -117,7 +117,7 @@ namespace accessibility
::svt::IToolPanelDeck& i_rPanelDeck,
::svt::PanelTabBar& i_rTabBar
);
~AccessibleToolPanelTabBar_Impl();
virtual ~AccessibleToolPanelTabBar_Impl();
void checkDisposed();
bool isDisposed() const { return m_pPanelDeck == NULL; }

View file

@ -91,7 +91,7 @@ namespace accessibility
::svt::PanelTabBar& i_rTabBar,
const size_t i_nItemPos
);
~AccessibleToolPanelDeckTabBarItem_Impl();
virtual ~AccessibleToolPanelDeckTabBarItem_Impl();
::svt::PanelTabBar* getTabBar() const { return m_pTabBar; }