TaskTree: Fix coverity scan issue (initialization of destruction)
Coverity-Id: 479704 Change-Id: Icae0c4183c29bc3646d6dd1786215e8bdbb3bf7f Reviewed-by: Kai Köhne <kai.koehne@qt.io> (cherry picked from commit 868fc456acba412f5a1d4a39fa504fc890fda205) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
fb59d0eb75
commit
8151aad650
@ -1287,7 +1287,7 @@ const GroupItem finishAllAndSuccess = workflowPolicy(WorkflowPolicy::FinishAllAn
|
||||
const GroupItem finishAllAndError = workflowPolicy(WorkflowPolicy::FinishAllAndError);
|
||||
|
||||
// Keep below the above in order to avoid static initialization fiasco.
|
||||
const GroupItem nullItem = GroupItem({});
|
||||
const GroupItem nullItem = Group {};
|
||||
const ExecutableItem successItem = Group { finishAllAndSuccess };
|
||||
const ExecutableItem errorItem = Group { finishAllAndError };
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user