diff options
Diffstat (limited to 'gdb/unittests')
-rw-r--r-- | gdb/unittests/parallel-for-selftests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/unittests/parallel-for-selftests.c b/gdb/unittests/parallel-for-selftests.c index 7f61b70..a2cd472 100644 --- a/gdb/unittests/parallel-for-selftests.c +++ b/gdb/unittests/parallel-for-selftests.c @@ -50,7 +50,7 @@ test (int n_threads) #define NUMBER 10000 - std::atomic<int> counter = 0; + std::atomic<int> counter (0); gdb::parallel_for_each (0, NUMBER, [&] (int start, int end) { |