mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 10:55:46 -05:00
[contextualprocess] Warnings-- by dropping destructor
This commit is contained in:
parent
583cc06f7c
commit
1e0ecbcc18
1 changed files with 7 additions and 6 deletions
|
@ -37,12 +37,13 @@ struct ValueCheck : public QPair<QString, CalamaresUtils::CommandList*>
|
|||
{
|
||||
}
|
||||
|
||||
~ValueCheck()
|
||||
{
|
||||
// We don't own the commandlist, the binding holding this valuecheck
|
||||
// does, so don't delete. This is closely tied to (temporaries created
|
||||
// by) pass-by-value in QList::append().
|
||||
}
|
||||
// ~ValueCheck()
|
||||
//
|
||||
// There is no destructor.
|
||||
//
|
||||
// We don't own the commandlist, the binding holding this valuecheck
|
||||
// does, so don't delete. This is closely tied to (temporaries created
|
||||
// by) pass-by-value in QList::append().
|
||||
|
||||
QString value() const { return first; }
|
||||
CalamaresUtils::CommandList* commands() const { return second; }
|
||||
|
|
Loading…
Add table
Reference in a new issue