aboutsummaryrefslogtreecommitdiff
path: root/gdb/unittests
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/unittests')
-rw-r--r--gdb/unittests/parallel-for-selftests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/unittests/parallel-for-selftests.c b/gdb/unittests/parallel-for-selftests.c
index adfc82f..e0c07e5 100644
--- a/gdb/unittests/parallel-for-selftests.c
+++ b/gdb/unittests/parallel-for-selftests.c
@@ -52,7 +52,7 @@ test (int n_threads)
#define NUMBER 10000
std::atomic<int> counter (0);
- gdb::parallel_for_each (0, NUMBER,
+ gdb::parallel_for_each (1, 0, NUMBER,
[&] (int start, int end)
{
counter += end - start;