summaryrefslogtreecommitdiffstats
path: root/tests/auto/concurrent/qtconcurrentmap
diff options
context:
space:
mode:
authorSona Kurazyan <sona.kurazyan@qt.io>2020-10-08 12:12:07 +0200
committerSona Kurazyan <sona.kurazyan@qt.io>2020-10-12 13:51:45 +0200
commit4a981b9bdb6d512ac077ecdeaf478fc9a5792d17 (patch)
tree80d3734dd8774d516373d036229a8811bf088036 /tests/auto/concurrent/qtconcurrentmap
parent3d040267f436e4f28819e1b5f362a1a908dceea5 (diff)
Enable some-of the QtConcurrent test cases
QtConcurrent::filtered test-cases for move-only containers were failing to compile, because it is assumed that the passed container should have value_type defined. Change-Id: I3e9e5ebc07704cb98a15b125ae8bd5b5a84d497a Reviewed-by: Andreas Buhr <andreas.buhr@qt.io> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io> Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Diffstat (limited to 'tests/auto/concurrent/qtconcurrentmap')
-rw-r--r--tests/auto/concurrent/qtconcurrentmap/functions.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/concurrent/qtconcurrentmap/functions.h b/tests/auto/concurrent/qtconcurrentmap/functions.h
index 7c30c256cb..e5090ef03e 100644
--- a/tests/auto/concurrent/qtconcurrentmap/functions.h
+++ b/tests/auto/concurrent/qtconcurrentmap/functions.h
@@ -138,6 +138,8 @@ public:
class MoveOnlyVector
{
public:
+ using value_type = int;
+
// rule of six
MoveOnlyVector() = default;
~MoveOnlyVector() = default;