mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
update destructors
This commit is contained in:
parent
b9311eafb4
commit
aa35a91923
4 changed files with 13 additions and 21 deletions
|
|
@ -83,7 +83,14 @@ Navbar::Navbar()
|
|||
);
|
||||
}
|
||||
|
||||
Navbar::~Navbar() = default;
|
||||
Navbar::~Navbar()
|
||||
{
|
||||
delete base;
|
||||
delete bookmark;
|
||||
delete history;
|
||||
delete request;
|
||||
delete update;
|
||||
};
|
||||
|
||||
// Actions
|
||||
void Navbar::refresh()
|
||||
|
|
|
|||
|
|
@ -23,4 +23,8 @@ History::History()
|
|||
);
|
||||
}
|
||||
|
||||
History::~History() = default;
|
||||
History::~History()
|
||||
{
|
||||
delete back;
|
||||
delete forward;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue