summaryrefslogtreecommitdiff
path: root/src/base/range_map.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/range_map.hh')
-rw-r--r--src/base/range_map.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/base/range_map.hh b/src/base/range_map.hh
index 1c121925d..0ffc28ed9 100644
--- a/src/base/range_map.hh
+++ b/src/base/range_map.hh
@@ -70,6 +70,13 @@ class range_map
}
template <class U>
+ const iterator
+ find(const U &r)
+ {
+ return find(RangeSize(r, 1));
+ }
+
+ template <class U>
bool
intersect(const Range<U> &r)
{