summaryrefslogtreecommitdiff
path: root/base/range.hh
diff options
context:
space:
mode:
Diffstat (limited to 'base/range.hh')
-rw-r--r--base/range.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/range.hh b/base/range.hh
index d72aa9755..2c4a43f48 100644
--- a/base/range.hh
+++ b/base/range.hh
@@ -225,7 +225,7 @@ inline bool
operator==(const T &pos, const Range<U> &range)
{
assert(range.valid());
- return pos >= range.start && pos < range.end;
+ return pos >= range.start && pos <= range.end;
}
/**