QFuture: remove unused include

qtconcurrentcompilertest.h defines the HasResultType<> template, which
qfuture.h doesn't use.

Include qtconcurrentcompilertest.h in the headers which actually use
HasResultType<> instead.

Change-Id: Ic5939ccf4c9058b2b624432c7ea48a5aca2236b5
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Marc Mutz 2012-09-21 16:21:54 +02:00 committed by The Qt Project
parent a65a98399b
commit f7a33ec29f
3 changed files with 2 additions and 3 deletions

View File

@ -48,7 +48,6 @@
#include <QtConcurrent/qfutureinterface.h>
#include <QtCore/qstring.h>
#include <QtConcurrent/qtconcurrentcompilertest.h>
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE

View File

@ -42,7 +42,7 @@
#ifndef QTCONCURRENT_FUNCTIONWRAPPERS_H
#define QTCONCURRENT_FUNCTIONWRAPPERS_H
#include <QtConcurrent/qtconcurrent_global.h>
#include <QtConcurrent/qtconcurrentcompilertest.h>
#ifndef QT_NO_CONCURRENT

View File

@ -43,7 +43,7 @@
#ifndef QTCONCURRENT_RUN_H
#define QTCONCURRENT_RUN_H
#include <QtConcurrent/qtconcurrent_global.h>
#include <QtConcurrent/qtconcurrentcompilertest.h>
#ifndef QT_NO_CONCURRENT