diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-12-29 14:10:50 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2016-01-04 20:35:33 +0000 |
commit | 5feebcc973af56184f9f568a81b17e774976fff7 (patch) | |
tree | c4a9b5f4b0b5be7bce5642b1891a834cc845be67 /src/corelib/tools/qtimezoneprivate_win.cpp | |
parent | cc2ea22a3050424c0dffe864146af1efc57369b4 (diff) |
QMimeDatabase: replace a QStack<QString> with std::stack<QString, QStringList>
A QStringList is almost as efficient as a QVector<QString>.
More importantly, the QStringList case can share code with
the myriad of other QStringList users, in particular
because std::stack is but the thinnest of wrappers around
its underlying container.
Saves 1400b in text size on optimized GCC 4.9 Linux AMD64
builds.
Change-Id: If37ed55802aa8a529ca772df465990ded0aaba7f
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/corelib/tools/qtimezoneprivate_win.cpp')
0 files changed, 0 insertions, 0 deletions