diff options
-rw-r--r-- | src/base/range_map.hh | 7 |
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) { |