diff options
author | David Faure <david.faure@kdab.com> | 2015-07-16 13:15:03 +0200 |
---|---|---|
committer | David Faure <david.faure@kdab.com> | 2015-07-17 14:29:42 +0000 |
commit | 31a1b3df1d1577901e3bf7977987295d49ac44ec (patch) | |
tree | bd6dde218986f82c6c3deb0b2cdfa9e6d6be7434 /examples/qtconcurrent | |
parent | 4b8ba3c91a06447a28a21da9bb276ce9a9d124a8 (diff) |
QtConcurrent example: remove unneeded explicit template type
I show this code during trainings and this explicit template type
just makes the line of code more complex than it has to be.
Change-Id: I294c65f48967e54c67d9c3b8e1de96c3c2495a5b
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'examples/qtconcurrent')
-rw-r--r-- | examples/qtconcurrent/map/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qtconcurrent/map/main.cpp b/examples/qtconcurrent/map/main.cpp index 75b1da4e6f..eaa7c911cb 100644 --- a/examples/qtconcurrent/map/main.cpp +++ b/examples/qtconcurrent/map/main.cpp @@ -64,7 +64,7 @@ int main(int argc, char *argv[]) // Use QtConcurrentBlocking::mapped to apply the scale function to all the // images in the list. - QList<QImage> thumbnails = QtConcurrent::blockingMapped<QList<QImage> >(images, scale); + QList<QImage> thumbnails = QtConcurrent::blockingMapped(images, scale); return 0; } |