mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
implement destructors
This commit is contained in:
parent
ee890b9859
commit
a8df7e1ebe
12 changed files with 92 additions and 9 deletions
|
|
@ -18,6 +18,17 @@ Main::Main()
|
|||
);
|
||||
}
|
||||
|
||||
Main::~Main()
|
||||
{
|
||||
remove(
|
||||
* tab
|
||||
);
|
||||
|
||||
delete tab;
|
||||
|
||||
tab = nullptr;
|
||||
}
|
||||
|
||||
void Main::tabAppend()
|
||||
{
|
||||
tab->append(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue