Don't use Standard Library routines in qthread_p.h
authorThiago Macieira <thiago.macieira@intel.com>
Thu, 5 Dec 2013 20:51:53 +0000 (12:51 -0800)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 6 Dec 2013 01:40:56 +0000 (02:40 +0100)
commit631bba964a8b0f58245e5a382cd818628e89598c
treec5b269c7c745f3a3c6b640dae8a6f7a04cdfb7a7
parent636210a4ff3f3589fa062ea75869cfad9652cb7c
Don't use Standard Library routines in qthread_p.h

Just write the for loops by hand so we don't need to use the Standard
Library. That's necessary to support a -no-stl build.

This patch is not necessary in Qt 5 since Qt 5 does not have -no-stl.

Task-number: QTBUG-35424
Change-Id: Id449d807eaf7350f1a668ef16d356a9e236c6058
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
src/corelib/thread/qthread_p.h