summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qthreadpool.cpp
diff options
context:
space:
mode:
authorAndrei Golubev <andrei.golubev@qt.io>2020-10-28 12:33:35 +0100
committerAndrei Golubev <andrei.golubev@qt.io>2020-11-11 23:39:07 +0100
commita5592293f8b093b325c4cb8bd5e98dc07bfc4419 (patch)
tree9ddb718b2870327809a274ae86aaf6fd92682171 /src/corelib/thread/qthreadpool.cpp
parent89391da882d981a92e5f86e1d049d2e24baf9b2b (diff)
Reject `const T*`-convertible types in QCommonArrayOps::copyAppend<It>
In many cases (e.g. relocatable and pod), generic version is more expensive. Let's not expect array data ops to only get QADP iterators as input. Instead, reject generic version for any const T* -convertible iterator and force compiler to select copyAppend(const T *b, const T *e) as a suitable overload Change-Id: I47a09d35a8ff15322381c2aa28258bfc7deebbad Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/corelib/thread/qthreadpool.cpp')
0 files changed, 0 insertions, 0 deletions