diff --git a/src/lsp.hh b/src/lsp.hh index 51367f55..3de65ba5 100644 --- a/src/lsp.hh +++ b/src/lsp.hh @@ -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; } };