Clang: Remove some pointless "this" capture

Change-Id: I8ac56d0ec34128aa33263f171483c36dae608d01
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
Nikolai Kosjar
2019-02-05 11:16:09 +01:00
parent c5e43d86d1
commit 719749103a

View File

@@ -536,7 +536,7 @@ public:
const auto *node = ClazyChecksTree::fromIndex(index); const auto *node = ClazyChecksTree::fromIndex(index);
if (node->kind == ClazyChecksTree::CheckNode) { if (node->kind == ClazyChecksTree::CheckNode) {
const QStringList topics = node->checkInfo.topics; const QStringList topics = node->checkInfo.topics;
return Utils::anyOf(m_topics, [this, topics](const QString &topic) { return Utils::anyOf(m_topics, [topics](const QString &topic) {
return topics.contains(topic); return topics.contains(topic);
}); });
} }