summaryrefslogtreecommitdiff
path: root/gdbsupport/parallel-for.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdbsupport/parallel-for.h')
-rw-r--r--gdbsupport/parallel-for.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdbsupport/parallel-for.h b/gdbsupport/parallel-for.h
index bf40f125f0f..0037ee23ff3 100644
--- a/gdbsupport/parallel-for.h
+++ b/gdbsupport/parallel-for.h
@@ -141,7 +141,7 @@ parallel_for_each (unsigned n, RandomIt first, RandomIt last,
/* If enabled, print debug info about how the work is distributed across
the threads. */
- const int parallel_for_each_debug = false;
+ const bool parallel_for_each_debug = false;
size_t n_worker_threads = thread_pool::g_thread_pool->thread_count ();
size_t n_threads = n_worker_threads;