Files
qt-creator/src/libs/glsl/glslengine.h
Eike Ziller e4db67b523 GLSL: Fix crash when built with Qt 6
In Qt 6 references (and pointers) to elements in a container are
invalidated when the container size changes. Simply move to
std::unordered_set which guarantees references to stay valid.

Fixes: QTCREATORBUG-25641
Task-number: QTCREATORBUG-24098
Change-Id: I9f1110419bd2940c182b4a24629d9ab718ca2af6
Reviewed-by: David Schulz <david.schulz@qt.io>
2021-05-20 13:22:31 +00:00

4.1 KiB