From 31a1b3df1d1577901e3bf7977987295d49ac44ec Mon Sep 17 00:00:00 2001 From: David Faure Date: Thu, 16 Jul 2015 13:15:03 +0200 Subject: 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) --- examples/qtconcurrent/map/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/qtconcurrent') 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 thumbnails = QtConcurrent::blockingMapped >(images, scale); + QList thumbnails = QtConcurrent::blockingMapped(images, scale); return 0; } -- cgit v1.2.3