aboutsummaryrefslogtreecommitdiff
path: root/graphics/blender/files/patch-extern_rangetree_range_tree.hh
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/blender/files/patch-extern_rangetree_range_tree.hh')
-rw-r--r--graphics/blender/files/patch-extern_rangetree_range_tree.hh15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/blender/files/patch-extern_rangetree_range_tree.hh b/graphics/blender/files/patch-extern_rangetree_range_tree.hh
new file mode 100644
index 000000000000..685022205a29
--- /dev/null
+++ b/graphics/blender/files/patch-extern_rangetree_range_tree.hh
@@ -0,0 +1,15 @@
+--- extern/rangetree/range_tree.hh.orig 2013-11-12 09:41:41.000000000 +0100
++++ extern/rangetree/range_tree.hh 2013-11-12 21:47:07.000000000 +0100
+@@ -35,6 +35,12 @@
+ : 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;
+ }