diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2017-02-13 16:36:49 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2017-02-15 16:25:38 +0000 |
commit | fb376e0fcc8d2d0a1731a588bfc6497d05e090e6 (patch) | |
tree | c04f30f9b6e21e4dd3342c6a266316c02dbbf90f /util | |
parent | 7dff4b921b0111c9ebe392ab1c168aaeff3d2605 (diff) |
Remove the name cache from QMetaType::typeName
It was unnecessary, since we only cached the static types, which are all
generated by the macro anyway. The way it was implemented, this produced
data races that are strictly-speaking UB, even if all the threads were
writing the same values to the same data locations.
This commit changes a little the code to simplify, since we're changing
those lines anyway.
Task-number: QTBUG-58851
Change-Id: Idc5061f7145940f987dffffd14a30047846e3113
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions