This commit is contained in:
Bastian Beranek 2024-11-19 18:54:38 +01:00 committed by GitHub
commit 141dc706d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -100,7 +100,7 @@ struct lsRange {
return start <= o.start && o.end <= end;
}
bool intersects(const lsRange &o) const {
return start < o.end && o.start < end;
return start <= o.end && o.start <= end;
}
};