diff options
Diffstat (limited to 'extern')
-rw-r--r-- | extern/rangetree/range_tree.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/extern/rangetree/range_tree.hh b/extern/rangetree/range_tree.hh index 2a47c5a1d93..a88c70281b6 100644 --- a/extern/rangetree/range_tree.hh +++ b/extern/rangetree/range_tree.hh @@ -35,6 +35,11 @@ struct RangeTree { : min(t), max(t), single(true) {} + Range& operator=(const Range& v) { + *this = v; + return *this; + } + bool operator<(const Range& v) const { return max < v.min; } |