summaryrefslogtreecommitdiffstats
path: root/LICENSE.LGPLv3
diff options
context:
space:
mode:
authorAndrei Golubev <andrei.golubev@qt.io>2021-11-12 16:31:06 +0100
committerAndrei Golubev <andrei.golubev@qt.io>2021-11-12 22:25:35 +0100
commit2a2fb306b8cfc3f386cf9432c4a343c213ee46f7 (patch)
treecc629b80359e71632740f1ec6ad9e740b546e614 /LICENSE.LGPLv3
parent3446313c7a5cd6005089866a7b20c9f28e132a0a (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 'LICENSE.LGPLv3')
0 files changed, 0 insertions, 0 deletions