Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.4.1
-
None
-
9269dcc8ed9839c403f4f88edd79d0b8f0945d4a
Description
QContiguousCache assignment operator does not compile.
Type conversion error:
Qt5/5.4/gcc_64/include/QtCore/qcontiguouscache.h:294: error: invalid conversion from 'QContiguousCacheData*' to 'QContiguousCache<QList<TYPE> >::Data* {aka QContiguousCacheTypedData<QList<TYPE> >*}' [-fpermissive] freeData(d); Qt5/5.4/gcc_64/include/QtCore/qcontiguouscache.h:294: error: 'QContiguousCacheData' is an inaccessible base of 'QContiguousCacheTypedData<QList<TYPE> >' freeData(d); ^
I believe this call should use the subclass union type p like all other freeData calls: freeData(p)
^