mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
update destructors
This commit is contained in:
parent
b9311eafb4
commit
aa35a91923
4 changed files with 13 additions and 21 deletions
|
|
@ -28,19 +28,6 @@ Header::Header()
|
|||
|
||||
Header::~Header()
|
||||
{
|
||||
// Menu
|
||||
remove(
|
||||
* menu
|
||||
);
|
||||
|
||||
delete menu;
|
||||
menu = nullptr;
|
||||
|
||||
// Tab
|
||||
remove(
|
||||
* tab
|
||||
);
|
||||
|
||||
delete tab;
|
||||
tab = nullptr;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue