summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2021-12-01 21:57:28 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2021-12-02 11:01:45 +0000
commitc470f57036b3b60acf68f931faff33bfd094f23e (patch)
tree082d9211ca562ee323dd472c2be8d0afe898b4aa /src/lib
parent3add520ef612716df5dc5c896041c1c70e52015f (diff)
downloadqbs-c470f57036b3b60acf68f931faff33bfd094f23e.tar.gz
Replace missing std::all_of with Internal::all_of
Change-Id: I11dc7ce71c7ce7f161d75e3fcd2fc34c87e7733e Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/corelib/buildgraph/executor.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/corelib/buildgraph/executor.cpp b/src/lib/corelib/buildgraph/executor.cpp
index 4c3cf7001..3df2b3625 100644
--- a/src/lib/corelib/buildgraph/executor.cpp
+++ b/src/lib/corelib/buildgraph/executor.cpp
@@ -620,8 +620,7 @@ void Executor::finishJob(ExecutorJob *job, bool success)
static bool allChildrenBuilt(BuildGraphNode *node)
{
- return std::all_of(node->children.cbegin(), node->children.cend(),
- std::mem_fn(&BuildGraphNode::isBuilt));
+ return Internal::all_of(node->children, std::mem_fn(&BuildGraphNode::isBuilt));
}
void Executor::finishNode(BuildGraphNode *leaf)