forked from bartvdbraak/blender
rangetree: support for building on freebsd-10
This commit is contained in:
parent
58afbb2ee8
commit
cf9edb2610
5
extern/rangetree/range_tree.hh
vendored
5
extern/rangetree/range_tree.hh
vendored
@ -35,6 +35,11 @@ struct RangeTree {
|
|||||||
: min(t), max(t), single(true)
|
: min(t), max(t), single(true)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
Range& operator=(const Range& v) {
|
||||||
|
*this = v;
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
|
||||||
bool operator<(const Range& v) const {
|
bool operator<(const Range& v) const {
|
||||||
return max < v.min;
|
return max < v.min;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user