diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-07-19 23:04:01 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-07-22 21:12:41 +0000 |
commit | a83be780aecd78bf8b2b76dab722097f74663d74 (patch) | |
tree | 1482a636ada42cb0827986ad97f40dd2c6662a66 /src/corelib/tools/qtimezone.cpp | |
parent | 4cbc19d3dc05293380cd36542b5ab057aad4212b (diff) |
QXmlStreamAttribute: make nothrow move assignable and -constructible
Unfortunately, we cannot rely on Q_DECL_EQ_DEFAULT, so I
needed to code the special member functions by hand.
The 'reserved' field is pretty useless, since the
existing ctors didn't initialize it, but just in
case someone finds a way how to store information
in there, deal with the field in the usual way:
set to nullptr in the move ctor and swap in the
move assignment operator.
Change-Id: I15a5f61807cb67deb6e979d4f3e5a260384b20ab
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/corelib/tools/qtimezone.cpp')
0 files changed, 0 insertions, 0 deletions