mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-09-13 14:10:23 +00:00
NxWidgets::CNxString: Make destructor virtual. From Petteri Aimonen
This commit is contained in:
parent
cff7b270a9
commit
23c30fd923
1 changed files with 1 additions and 1 deletions
|
|
@ -220,7 +220,7 @@ namespace NXWidgets
|
|||
* Destructor.
|
||||
*/
|
||||
|
||||
inline ~CNxString()
|
||||
virtual inline ~CNxString()
|
||||
{
|
||||
delete[] m_text;
|
||||
m_text = (FAR nxwidget_char_t *)NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue