forked from BigfootDev/flatbuffers
Fix error in SimpleQSort (#5955)
This commit is contained in:
@@ -1280,7 +1280,7 @@ void SimpleQsort(T *begin, T *end, size_t width, F comparator, S swapper) {
|
||||
r -= width;
|
||||
swapper(l, r);
|
||||
} else {
|
||||
l++;
|
||||
l += width;
|
||||
}
|
||||
}
|
||||
l -= width;
|
||||
|
||||
Reference in New Issue
Block a user