diff options
author | Neil <nyamatongwe@gmail.com> | 2021-07-16 09:54:01 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-07-16 09:54:01 +1000 |
commit | f4878568f55a9c3b6eef8cc8fad9b1aa7e8ab4ce (patch) | |
tree | f281f8fc0e294c6db1eebfc00ed692b759651694 /include/ScintillaMessages.h | |
parent | 05f4d202fa25a9b6beb23e097cc15c16c2e51f96 (diff) | |
download | scintilla-mirror-f4878568f55a9c3b6eef8cc8fad9b1aa7e8ab4ce.tar.gz |
SplitVector::RoomFor does not resize when there is exactly enough room as this
prevents extra reallocations.
This change made 0-length gaps more likely and that caused attempts to std::move
by 0 which is undefined and failed with the g++ standard library. Fixed by not
moving for 0-length gap.
Diffstat (limited to 'include/ScintillaMessages.h')
0 files changed, 0 insertions, 0 deletions