diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2012-08-17 10:51:48 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-17 16:27:43 +0200 |
commit | 6ac6bc03e840d1b84dc953cade61838131e9c293 (patch) | |
tree | bc631f406a706a7e409d05ac9103500f8769c08f /src/concurrent | |
parent | a72420d012fd09f0a79ae75b77eb1c3bbff75669 (diff) |
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>
Diffstat (limited to 'src/concurrent')
-rw-r--r-- | src/concurrent/qfutureinterface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/concurrent/qfutureinterface.h b/src/concurrent/qfutureinterface.h index 9ae2df5d07..45f88281cb 100644 --- a/src/concurrent/qfutureinterface.h +++ b/src/concurrent/qfutureinterface.h @@ -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 |