rangetree: support for building on freebsd-10

This commit is contained in:
Campbell Barton 2013-11-16 18:31:13 +11:00
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
1 changed files with 5 additions and 0 deletions

View File

@ -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;
}