Fix compilation of tests/auto/corelib/tools with QT_STRICT_ITERATORS
authorThiago Macieira <thiago.macieira@intel.com>
Thu, 31 May 2012 11:51:36 +0000 (13:51 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 12 Jun 2012 02:30:20 +0000 (04:30 +0200)
commit290655c8a2401b84b9ddd223b67c06182886c597
treebde39afdf33134dd79ade0b61796d615e0bc9f3b
parentc5665a182db5002afe6dc7c69f343e89de5fca31
Fix compilation of tests/auto/corelib/tools with QT_STRICT_ITERATORS

Most fixes are simple and quite obvious. The ones more involved are
the ones to QArrayData, which had probably not been compiled with
strict iterators thus far.

Change-Id: Ic4ff84c34fd9a04fd686fecaa98149b1c47c9346
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
src/corelib/tools/qarraydataops.h
tests/auto/corelib/tools/qarraydata/tst_qarraydata.cpp
tests/auto/corelib/tools/qhash/tst_qhash.cpp