forked from qt-creator/qt-creator
ClangTools: Fix compilation
Amends 97d3858720
.
Change-Id: I3da79ca3cdc907a6fed7cfe64e7f8f61efc40948
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -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(),
|
||||
[¤t](const const Replacement &replacement) {
|
||||
[¤t](const Replacement &replacement) {
|
||||
return replacement.offset + replacement.length > current.pos
|
||||
&& replacement.offset < current.pos + current.length;
|
||||
})) {
|
||||
|
Reference in New Issue
Block a user