ClangTools: Fix compilation

Amends 97d3858720.

Change-Id: I3da79ca3cdc907a6fed7cfe64e7f8f61efc40948
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Bernhard Beschow
2018-12-21 14:01:34 +01:00
parent fa8e8cec89
commit 4c69ec5b89

View File

@@ -206,7 +206,7 @@ bool FixitsRefactoringFile::hasIntersection(const QString &fileName,
// Usually the number of replacements is from 1 to 3.
if (std::any_of(replacements.begin(),
replacements.end(),
[&current](const const Replacement &replacement) {
[&current](const Replacement &replacement) {
return replacement.offset + replacement.length > current.pos
&& replacement.offset < current.pos + current.length;
})) {