aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/buildgraph/rulegraph.cpp
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2018-04-26 09:11:15 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2018-04-26 14:10:26 +0000
commitef67c71a7793798115f23f662b00467f23b968d9 (patch)
tree0530ea62fe6afefbd31750acd6389fa04417e64d /src/lib/corelib/buildgraph/rulegraph.cpp
parentd6e66a708b941815d0e34b04e4b99cbe882146a1 (diff)
Make ResolvedProduct::rules a vector
The value_type is not suitable for QList. Change-Id: Ia9f653f5cd9c8de8b84b952fa316353ef7fad6cf Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/lib/corelib/buildgraph/rulegraph.cpp')
-rw-r--r--src/lib/corelib/buildgraph/rulegraph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/buildgraph/rulegraph.cpp b/src/lib/corelib/buildgraph/rulegraph.cpp
index 9bd3279cd..23227ca09 100644
--- a/src/lib/corelib/buildgraph/rulegraph.cpp
+++ b/src/lib/corelib/buildgraph/rulegraph.cpp
@@ -50,7 +50,7 @@ RuleGraph::RuleGraph()
{
}
-void RuleGraph::build(const QList<RulePtr> &rules, const FileTags &productFileTags)
+void RuleGraph::build(const std::vector<RulePtr> &rules, const FileTags &productFileTags)
{
QMap<FileTag, QList<const Rule *> > inputFileTagToRule;
m_rules.reserve(rules.size());