summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/parallel/partial_sum.h
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/include/parallel/partial_sum.h')
-rw-r--r--libstdc++-v3/include/parallel/partial_sum.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/libstdc++-v3/include/parallel/partial_sum.h b/libstdc++-v3/include/parallel/partial_sum.h
index 1a7697a6cef..425e868fe6b 100644
--- a/libstdc++-v3/include/parallel/partial_sum.h
+++ b/libstdc++-v3/include/parallel/partial_sum.h
@@ -184,10 +184,7 @@ namespace __gnu_parallel
__bin_op, __sums[__iam]);
} //parallel
- for (_ThreadIndex __i = 0; __i < __num_threads; ++__i)
- __sums[__i].~_ValueType();
::operator delete(__sums);
-
delete[] __borders;
return __result + __n;
OpenPOWER on IntegriCloud