summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qthread.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2018-10-29 14:33:27 +0100
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-11-02 14:28:17 +0100
commit1926e09b32fb6bd6ada6951c36cd337561964b79 (patch)
treeaadc15f890c8574d1a49cecebc2b9b288267e749 /src/corelib/thread/qthread.cpp
parentd76b9d86e85ed7c0705209caca40b7a0efc71e14 (diff)
Warn if Q_FOREACH is used with a non-shared container
Show a deprecation warning if a non shared container is used within Q_FOREACH, because it would make an expensive copy of the container Change-Id: I70cfd789b5b8d9f5b1bd6e0a57e5e968e1c6a0ca Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src/corelib/thread/qthread.cpp')
0 files changed, 0 insertions, 0 deletions