diff options
| author | Olivier De Cannière <olivier.decanniere@qt.io> | 2024-12-02 15:34:14 +0100 |
|---|---|---|
| committer | Olivier De Cannière <olivier.decanniere@qt.io> | 2024-12-03 11:07:35 +0100 |
| commit | f5673f1e0e139fab33a456275b015fe4e5ca3986 (patch) | |
| tree | 24fe32eeb8e8202afa9ea74a92b33d6d28e0340f /src/qmlcompiler/qqmljsoptimizations.cpp | |
| parent | 846942b90f42ac7840aa0a655b0cd9035a90bc37 (diff) | |
Engine: Assert successful insertion into the cache
With a default cost of 1, insertion should always succeed. Failure to
insert could lead to a use-after-free a few lines down. This also
silences clangd.
Change-Id: I7ed2a416383b0885af3e5a57c7779f5d20c34d6b
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qmlcompiler/qqmljsoptimizations.cpp')
0 files changed, 0 insertions, 0 deletions
