diff options
author | Andrei Golubev <andrei.golubev@qt.io> | 2020-07-08 12:52:59 +0300 |
---|---|---|
committer | Andrei Golubev <andrei.golubev@qt.io> | 2020-08-18 12:55:38 +0200 |
commit | 5247af96e3bdf2f28f6e18007fb7e3a7458e0103 (patch) | |
tree | ddf06c7ae7bbacd7df6c9358dcb802bf2954a91d /src/tools/moc/generator.cpp | |
parent | 48911869cb06c96ba76874303b9a49743eb1c4f8 (diff) |
Refine precoditions and logic of array operations
Updated insert() methods:
* Refined Q_ASSERT() checks
* Fixed implementation issues (some of which resulted in
actual crashes)
* Allowed to insert at the end. This is safe as far as I can
tell and actually would allow to simplify considerable chunks
of code (mainly, copyAppend versions to just return
insert at the end)
Updated tests accordingly
Change-Id: I0ba33ae5034ce8d5ff95b753894e95d71ba00257
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/tools/moc/generator.cpp')
0 files changed, 0 insertions, 0 deletions