QCommonArrayOps: append when inserting into empty container

Ensured append is chosen instead of prepend for corner cases when
inserting into an empty container

Mirrored the logic in shouldGrowBeforeInsert function

Task-number: QTBUG-84320
Change-Id: I1c963a2588c331029e450fe55001bbf324f65fb4
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
bb10
Andrei Golubev 2020-09-02 15:35:07 +02:00
parent 6f76da5dd0
commit 185498563a

Diff Content Not Available