NxWidgets::CNxString: Make destructor virtual. From Petteri Aimonen
This commit is contained in:
parent
cff7b270a9
commit
23c30fd923
@ -220,7 +220,7 @@ namespace NXWidgets
|
|||||||
* Destructor.
|
* Destructor.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
inline ~CNxString()
|
virtual inline ~CNxString()
|
||||||
{
|
{
|
||||||
delete[] m_text;
|
delete[] m_text;
|
||||||
m_text = (FAR nxwidget_char_t *)NULL;
|
m_text = (FAR nxwidget_char_t *)NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user