diff options
| author | Marc Mutz <marc.mutz@kdab.com> | 2016-09-15 00:36:54 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@kdab.com> | 2016-09-15 10:10:34 +0000 |
| commit | 258e4d05edcb36406c32be56a8207fe992d284dc (patch) | |
| tree | 295e02cc3322ff99c4b79b638efa16760ad7f9c3 /src/sql/drivers/mysql/qsql_mysql.cpp | |
| parent | a54d44298f6d2ecc1ec4d8c5c42c89c8a06fc5dd (diff) | |
QDBusError: don't bother dealing with unusable 'unused' field
The move constructor as well as member-swap were dealing with the
'unused' field as if it would be usable. But as the comment in the
default ctor suggests, the field can never be used in Qt 5, due to
the inline dtor.
So, don't bother with the field. Doing so only triggers checkers
such as Coverity.
Also mark the field for removal in Qt 6.
Coverity-Id: 154503
Coverity-Id: 154510
Change-Id: If42c5ed66d1133e651de7477f3313b3989b64bc9
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/sql/drivers/mysql/qsql_mysql.cpp')
0 files changed, 0 insertions, 0 deletions
