Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.2.2
-
None
-
-
9c13ae4fe7 (qt/qtbase/6.2) 9c13ae4fe7 (qt/tqtc-qtbase/6.2)
Description
The emplace function for QHash includes a workaround for VS2019.
See: https://github.com/qt/qtbase/blob/dev/src/corelib/tools/qhash.h#L1225
The same workaround is needed for QMultiHash as well.
https://github.com/qt/qtbase/blob/dev/src/corelib/tools/qhash.h#L1834
Otherwise Visual Studio 2019 will produce a warning and endlessly recursive functions:
D:\a\qt-creator\Qt\6.2.2\msvc2019_64\include\QtCore\qhash.h(1735) : warning C4717: 'QMultiHash<Core::Internal::EditorView *,Core::IEditor *>::emplace<Core::IEditor * const &>': recursive on all control paths, function will cause runtime stack overflow
Attachments
Issue Links
- is duplicated by
-
QTBUG-95880 Endless recursion in QMultiHash
-
- Closed
-