diff --git a/examples/qtconcurrent/map/main.cpp b/examples/qtconcurrent/map/main.cpp index 75b1da4e6f6..eaa7c911cb4 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; }