diff options
Diffstat (limited to 'src/libs/installer/abstracttask.h')
-rw-r--r-- | src/libs/installer/abstracttask.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/libs/installer/abstracttask.h b/src/libs/installer/abstracttask.h index 9a44c50a9..5ee23bef5 100644 --- a/src/libs/installer/abstracttask.h +++ b/src/libs/installer/abstracttask.h @@ -1,6 +1,6 @@ /************************************************************************** ** -** Copyright (C) 2017 The Qt Company Ltd. +** Copyright (C) 2022 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Installer Framework. @@ -31,7 +31,9 @@ #include "runextensions.h" +#include <QException> #include <QFutureInterface> +#include <QVariant> namespace QInstaller { @@ -58,9 +60,9 @@ public: : m_message(message) {} - void raise() const { throw *this; } + void raise() const override { throw *this; } QString message() const { return m_message; } - TaskException *clone() const { return new TaskException(*this); } + TaskException *clone() const override { return new TaskException(*this); } private: QString m_message; |