summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qmetaobject.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2021-08-12 12:13:15 +0200
committerMarc Mutz <marc.mutz@kdab.com>2021-08-16 17:26:29 +0000
commit29cfea3e82e04345b2cbb07c3ebebebbe3ced0bb (patch)
treeb785d7a186ac37f30b10d4c634a802047ea60a93 /src/corelib/kernel/qmetaobject.cpp
parente7ab88870041a862a44e2779198f808047973d5f (diff)
QVarLengthArray: add support for emplacement
Take the rvalue insert() function and turn it into the emplace() function. Reformulate rvalue-insert using emplace(). Lvalue insert() is using a different code path, so leave that alone. This way, we don't need to go overboard with testing. [ChangeLog][QtCore][QVarLengthArray] Added emplace(), emplace_back(). Change-Id: I3e1400820ae0dd1fe87fd4b4c518f7f40be39f8b Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/kernel/qmetaobject.cpp')
0 files changed, 0 insertions, 0 deletions