summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2014-07-03 13:38:59 +0200
committerOlivier Goffart <ogoffart@woboq.com>2014-07-08 16:13:17 +0200
commit813af5f0655c332b2853d156b91c5265b85cbc70 (patch)
treee5d7337b93fbf436dc5b8e811de19cae752681b4 /src/gui
parent84e189502ac5849d89dedff491b1a5d9c5de793e (diff)
Remove QHashDummyNode and avoid undifined behavior
A lot of code in QHash is doing casting to QHashNode while the pointer may be of type QHashDummyNode. This is a lot of undefined behavior. Remove QHashDummyNode and specialize QHashNode for QHashDummyValue instead. QHashDummyValue is the only type for which QTypeInfo::isDummy is true. Q_DUMMY and QTypeInfo::isDummy are internal API, so is QHashDummyNode, so we can remove them. Task-number: QTBUG-40029 Change-Id: I60c2ff0933075b9202bde89a9992746052f75133 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions