diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-01-20 14:49:22 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-01-21 11:22:41 +0100 |
commit | 9fab24f8779fbfc1ab03483d41f41070b3fe9c32 (patch) | |
tree | 1d26d9cd71d243ce672a22bf5637f09ac7274fa1 /src/corelib/kernel/qvariant.cpp | |
parent | 95e9b93a771f09d4f8dcff87f99dfdd2b955acfa (diff) | |
download | qtbase-9fab24f8779fbfc1ab03483d41f41070b3fe9c32.tar.gz |
QSslEllipticCurve: enable NRVO in *Name() methods
Make it easier for the compiler to apply the
Named Return Value Optimization (NRVO) in the
shortName()/longName() functions by not returning
different objects in different return statements.
Change-Id: I1b6fa7e6121bc1c843378be33499728c56c97f92
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src/corelib/kernel/qvariant.cpp')
0 files changed, 0 insertions, 0 deletions