diff options
author | Andrei Golubev <andrei.golubev@qt.io> | 2021-11-12 16:31:06 +0100 |
---|---|---|
committer | Andrei Golubev <andrei.golubev@qt.io> | 2021-11-12 22:25:35 +0100 |
commit | 2a2fb306b8cfc3f386cf9432c4a343c213ee46f7 (patch) | |
tree | cc629b80359e71632740f1ec6ad9e740b546e614 /cmake/Finddouble-conversion.cmake | |
parent | 3446313c7a5cd6005089866a7b20c9f28e132a0a (diff) |
QStack: simplify the class (even more)
Most methods just do the same thing that is implemented in QList,
so just use QList methods
The QStack::pop() implementation should no longer go through the
resize which is likely slower, expands to more-code (unless optimized
away neatly) than erasure of single element through QList API (which
we optimized at some point to be fast)
It is also meaningless (afair) to have `inline` keyword when a method
is both declared and defined within the class' body, so we can drop
that as well
Change-Id: If9de3429be7418ed0ae13c571e28556a358eab05
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'cmake/Finddouble-conversion.cmake')
0 files changed, 0 insertions, 0 deletions