aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/buildgraph/executor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/corelib/buildgraph/executor.cpp')
-rw-r--r--src/lib/corelib/buildgraph/executor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/buildgraph/executor.cpp b/src/lib/corelib/buildgraph/executor.cpp
index 7d53351c2..930c1698e 100644
--- a/src/lib/corelib/buildgraph/executor.cpp
+++ b/src/lib/corelib/buildgraph/executor.cpp
@@ -393,7 +393,7 @@ bool Executor::schedulingBlockedByJobLimit(const BuildGraphNode *node)
{
if (node->type() != BuildGraphNode::ArtifactNodeType)
return false;
- const Artifact * const artifact = static_cast<const Artifact *>(node);
+ const auto artifact = static_cast<const Artifact *>(node);
if (artifact->artifactType == Artifact::SourceFile)
return false;