diff options
author | Milian Wolff <milian.wolff@kdab.com> | 2015-05-30 23:20:33 +0200 |
---|---|---|
committer | Milian Wolff <milian.wolff@kdab.com> | 2015-07-14 22:09:28 +0000 |
commit | f337e22401f5f4efa696d07090b2e4ba5a245c27 (patch) | |
tree | 80f4bc96c76dbe0f1261d6fe253f1311154c6164 /src/corelib/tools/qversionnumber.h | |
parent | a545715c8317f79699610a58e15f4c48e9c1501e (diff) |
Optimize moc: Remove another temporary list allocation.
In the common case, macroExpandIdentifier was called in the
"not a macro" case, and a temporary vector with a single item was
allocated. Now, we catch this common case at the caller site
and put the single item directly into the result set, bypassing
the temporary list.
Change-Id: I71d92afc486ccdaae5930405d028f53f48073b8c
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/corelib/tools/qversionnumber.h')
0 files changed, 0 insertions, 0 deletions