QFutureInterface<void>: const-correct reportFinished()

The primary QFutureInterface::reportFinished() takes a const T *, so should the
void sepecialisation.

Change-Id: I4d3173f4fd4f8d27baecd407369659a42445aed7
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
This commit is contained in:
Marc Mutz 2012-08-17 10:51:48 +02:00 committed by Qt by Nokia
parent a72420d012
commit 6ac6bc03e8

View File

@ -302,7 +302,7 @@ public:
void reportResult(const void *, int) { }
void reportResults(const QVector<void> &, int) { }
void reportFinished(void * = 0) { QFutureInterfaceBase::reportFinished(); }
void reportFinished(const void * = 0) { QFutureInterfaceBase::reportFinished(); }
};
QT_END_NAMESPACE