QPair: don't copy-initialise 'first'/'second' in the default ctor
authorMarc Mutz <marc.mutz@kdab.com>
Tue, 28 Feb 2012 21:09:48 +0000 (22:09 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 28 Feb 2012 23:05:38 +0000 (00:05 +0100)
commitb72bcea864e6e38f14c8f0c94b7ea6019d7d8a01
tree222cd476c45b37cc3f638ad8b31007239ea35e61
parent525d98725b72984e3d2526415829b763fc7654ea
QPair: don't copy-initialise 'first'/'second' in the default ctor

Why would we want copy-initialisation if we can
have the default constructor?

Change-Id: Id2de36d42ef9f63793ff4e3ec36202d3f2bf5f30
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
src/corelib/tools/qpair.h