diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2014-10-31 16:28:47 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2014-11-20 05:46:40 +0100 |
commit | 849604e2f98296ddcde4f1e323e2383ef4f0dd49 (patch) | |
tree | 5b51224f8bb2b1f6eb6ba83762f6d8bd59eefd0f /src/3rdparty/angle/src/libGLESv2/Data.h | |
parent | 8153386397087ce4f5c8997992edf5c1fd38b8db (diff) |
Fix asymmetry in QVariant::cmp when A converts to B but not the opposite
This would result in (a == b) != (b == a). The == operation should be
commutative as much as possible.
Now, there's still an asymmetry in that b is forced to a type and the
conversion may fail. QVariant should have an idea of what conversions
are "promotion" and which ones are "demotion" (subject to loss of data
and/or can fail), so it can do the promotion first
Task-number: QTBUG-42254
Change-Id: I9fa4496bbbf0f8719ff8456cc24247290beac608
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Diffstat (limited to 'src/3rdparty/angle/src/libGLESv2/Data.h')
0 files changed, 0 insertions, 0 deletions