summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/thread
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@theqtcompany.com>2015-03-18 09:27:15 +0100
committerKai Koehne <kai.koehne@theqtcompany.com>2015-03-23 08:13:46 +0000
commitbe3d4ebcbfd36c15c3fe53a8377ba93cb763e30a (patch)
treea3bd4efc7e2a6c9b33aa4273f3ee2cd40808d1e9 /tests/auto/corelib/thread
parentd3659bf88bac8dbfcdc6c957bdcc25e29bef0f04 (diff)
QVarLengthArray: Do not require operator!= for element comparison
The documentation claims that operator== is needed, not operator!=. While at it, we can also replace the loop with std::equal, which might even allow STL implementations to choose a hand-optimized version of the algorithm for C++ builtin types ... Change-Id: I988b326d6af3b767526952e303468e18ff6594f9 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'tests/auto/corelib/thread')
0 files changed, 0 insertions, 0 deletions