summaryrefslogtreecommitdiff
path: root/src/corelib/kernel/qvariant.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2015-01-20 14:49:22 +0100
committerMarc Mutz <marc.mutz@kdab.com>2015-01-21 11:22:41 +0100
commit9fab24f8779fbfc1ab03483d41f41070b3fe9c32 (patch)
tree1d26d9cd71d243ce672a22bf5637f09ac7274fa1 /src/corelib/kernel/qvariant.cpp
parent95e9b93a771f09d4f8dcff87f99dfdd2b955acfa (diff)
downloadqtbase-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