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>
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| .prev_CMakeLists.txt | ||
| CMakeLists.txt | ||
| qtconcurrentmap.pro | ||
| tst_qtconcurrentmap.cpp | ||