diff --git a/src/lsp.hh b/src/lsp.hh index e01d7497..18a060e4 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; } };