Fix T39245: Crash when dynamic topology is enabled

Redundant decrement was crashing for systems which didnt optimize it out.
This commit is contained in:
Campbell Barton 2014-04-03 17:12:06 +11:00
parent 5873160242
commit 9bbb30bf03

@ -79,10 +79,6 @@ struct RangeTree {
TreeIter iter = tree.find(Range(t));
assert(iter != tree.end());
Range cur = *iter;
TreeIter prev = iter;
TreeIter next = iter;
--prev;
++next;
/* Remove the original range (note that this does not
invalidate the prev/next iterators) */