diff options
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-10-29 13:33:22 +0100 |
|---|---|---|
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-10-29 14:03:38 +0100 |
| commit | 387f3e00a8d74984d33af990a1e1f57cd87aae61 (patch) | |
| tree | fda7edb02f8417aae018d40f2b26d3f25682b43d /src/opengl/qopenglversionfunctions.cpp | |
| parent | d2b50a736b3410e186266b1c74a59c1e4fbeed48 (diff) | |
Workaround gcc compiler bug
For the comparison of a QFuture<int> and an int, gcc creates code that
creates a qfloat16 instance, as can be seen when stepping through this
code:
QFuture<int> future;
int five = 5;
if (future == five)
return five;
Explicitly get the result of the QFuture to compare as a workaround.
Change-Id: Id2adc2268dbc0ccec7df3a9786c9d29dcdc04da3
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
Diffstat (limited to 'src/opengl/qopenglversionfunctions.cpp')
0 files changed, 0 insertions, 0 deletions
