diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2014-06-23 11:47:49 -0700 |
---|---|---|
committer | David Faure <david.faure@kdab.com> | 2014-06-24 18:41:45 +0200 |
commit | 00dce1cc0078f9633d121908172346cc22deb3c3 (patch) | |
tree | 732b011daf0d696cc1c4506fab1f4001934a65ae /src/corelib/tools | |
parent | 0e14a58a96fc3deb78ac152c480cac3ac907f0f7 (diff) |
Make the fetchAndAddRelaxed function a member template
This way, no compiler can instantiate it at class instantiation time. We
don't want them to do it for T that are function pointers (sizeof
functions is meaningless).
Change-Id: I6d5044bd5d9ffd0d347f1f38ab33c64213730788
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/corelib/tools')
0 files changed, 0 insertions, 0 deletions