summaryrefslogtreecommitdiffstats
path: root/src/core/jobs
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-30 16:07:58 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-11-02 09:01:31 +0100
commit1086a29bfdf5d78afbb95ac3b710e7892981aac1 (patch)
tree57d27ac3fe0d4297a398bb7966747dd93e95afd1 /src/core/jobs
parent9dd441c4297296d8efda629d0929aaad6d278b51 (diff)
Replace old Q_DECL statements with modern C++
Since we have long depended on C++11 now, all of these can go. Change-Id: I8808af2cd5ce192864c636b521dadd7de189563b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/core/jobs')
-rw-r--r--src/core/jobs/task_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/jobs/task_p.h b/src/core/jobs/task_p.h
index ce83a8009..c50cfd39c 100644
--- a/src/core/jobs/task_p.h
+++ b/src/core/jobs/task_p.h
@@ -108,7 +108,7 @@ public:
int id() override { return m_id; }
void setId(int id) override { m_id = id; }
- RunnableType type() const Q_DECL_OVERRIDE { return RunnableType::AspectTask; }
+ RunnableType type() const override { return RunnableType::AspectTask; }
public:
QSharedPointer<QAspectJob> m_job;
@@ -140,7 +140,7 @@ public:
int id() override { return m_id; }
void setId(int id) override { m_id = id; }
- RunnableType type() const Q_DECL_OVERRIDE { return RunnableType::SyncTask; }
+ RunnableType type() const override { return RunnableType::SyncTask; }
private:
QAbstractAspectJobManager::JobFunction m_func;