rangetree: support for building on freebsd-10
This commit is contained in:
parent
58afbb2ee8
commit
cf9edb2610
Notes:
blender-bot
2023-02-14 11:35:46 +01:00
Referenced by issue #37477, Unbreak the blender build on FreeBSD
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue