summaryrefslogtreecommitdiff
path: root/base/range.hh
diff options
context:
space:
mode:
Diffstat (limited to 'base/range.hh')
-rw-r--r--base/range.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/range.hh b/base/range.hh
index d72aa9755..2197e2f86 100644
--- a/base/range.hh
+++ b/base/range.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003 The Regents of The University of Michigan
+ * Copyright (c) 2002-2004 The Regents of The University of Michigan
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -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;
}
/**