From c470f57036b3b60acf68f931faff33bfd094f23e Mon Sep 17 00:00:00 2001 From: Denis Shienkov Date: Wed, 1 Dec 2021 21:57:28 +0300 Subject: Replace missing std::all_of with Internal::all_of Change-Id: I11dc7ce71c7ce7f161d75e3fcd2fc34c87e7733e Reviewed-by: Christian Kandeler --- src/lib/corelib/buildgraph/executor.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib') 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) -- cgit v1.2.1