[contextualprocess] Warnings-- by dropping destructor
This commit is contained in:
parent
583cc06f7c
commit
1e0ecbcc18
@ -37,12 +37,13 @@ struct ValueCheck : public QPair<QString, CalamaresUtils::CommandList*>
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
~ValueCheck()
|
// ~ValueCheck()
|
||||||
{
|
//
|
||||||
|
// There is no destructor.
|
||||||
|
//
|
||||||
// We don't own the commandlist, the binding holding this valuecheck
|
// We don't own the commandlist, the binding holding this valuecheck
|
||||||
// does, so don't delete. This is closely tied to (temporaries created
|
// does, so don't delete. This is closely tied to (temporaries created
|
||||||
// by) pass-by-value in QList::append().
|
// by) pass-by-value in QList::append().
|
||||||
}
|
|
||||||
|
|
||||||
QString value() const { return first; }
|
QString value() const { return first; }
|
||||||
CalamaresUtils::CommandList* commands() const { return second; }
|
CalamaresUtils::CommandList* commands() const { return second; }
|
||||||
|
Loading…
Reference in New Issue
Block a user