diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2016-08-16 17:56:46 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2016-08-17 05:35:52 +0000 |
commit | 12c7f225e6072264964bd3a0cbec834c5382031e (patch) | |
tree | 33dd77edb25fdf1bf418bf53a0fac36f7365767e /src/quick | |
parent | 8b8492d3ffdcdba9e9decb6d9ae8b7939be6c7f2 (diff) |
QV4Object: fix GCC 6.1 tautologial compare warning
GCC warned:
qtdeclarative/src/imports/localstorage/plugin.cpp:152:126: error: self-comparison always evaluates to true [-Werror=tautological-compare]
Fix by comparing the types for equality instead of the addresses of
their static_vtbls.
Task-number: QTBUG-53373
Change-Id: Idd1598610ad6381c03c3a46abe56a332726bd6a0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/quick')
0 files changed, 0 insertions, 0 deletions