rangetree: support for building on freebsd-10
[blender.git] / extern / rangetree / range_tree.hh
index 2a47c5a1d939258d63efa54cca6e0ab9dc414b5f..a88c70281b68dd26c9fef48ad888919d1259e091 100644 (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;
                }