diff options
author | Vladimir Glavnyy <31897320+vglavnyy@users.noreply.github.com> | 2020-06-10 13:35:07 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-09 23:35:07 -0700 |
commit | 4e45f7c9e8da64a9601eeba1231079c3ce0a6dc2 (patch) | |
tree | 06eaaed2700aa6940f0a1c9842e10787af10e789 /src | |
parent | 7ac0264053ff7adfbcf051fcc068e1b6d7325231 (diff) | |
download | flatbuffers-4e45f7c9e8da64a9601eeba1231079c3ce0a6dc2.tar.gz flatbuffers-4e45f7c9e8da64a9601eeba1231079c3ce0a6dc2.tar.bz2 flatbuffers-4e45f7c9e8da64a9601eeba1231079c3ce0a6dc2.zip |
Fix error in SimpleQSort (#5955)
Diffstat (limited to 'src')
-rw-r--r-- | src/idl_parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idl_parser.cpp b/src/idl_parser.cpp index 1bafd9b1..4749f365 100644 --- a/src/idl_parser.cpp +++ b/src/idl_parser.cpp @@ -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; |