aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/buildgraph/executor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/corelib/buildgraph/executor.h')
-rw-r--r--src/lib/corelib/buildgraph/executor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/corelib/buildgraph/executor.h b/src/lib/corelib/buildgraph/executor.h
index 2756a7120..003ba9a22 100644
--- a/src/lib/corelib/buildgraph/executor.h
+++ b/src/lib/corelib/buildgraph/executor.h
@@ -109,8 +109,8 @@ private:
bool operator() (const BuildGraphNode *x, const BuildGraphNode *y) const;
};
- typedef std::priority_queue<BuildGraphNode *, std::vector<BuildGraphNode *>,
- ComparePriority> Leaves;
+ using Leaves = std::priority_queue<BuildGraphNode *, std::vector<BuildGraphNode *>,
+ ComparePriority>;
void doBuild();
void prepareAllNodes();
@@ -158,7 +158,7 @@ private:
void updateJobCounts(const Transformer *transformer, int diff);
bool schedulingBlockedByJobLimit(const BuildGraphNode *node);
- typedef QHash<ExecutorJob *, TransformerPtr> JobMap;
+ using JobMap = QHash<ExecutorJob *, TransformerPtr>;
JobMap m_processingJobs;
ProductInstaller *m_productInstaller;