[gcc r15-6219] libstdc++: Fix -Wreorder warning in <pstl/parallel_backend_tbb.h>
Jonathan Wakely
redi@gcc.gnu.org
Fri Dec 13 13:12:26 GMT 2024
https://gcc.gnu.org/g:55ed7c4443304ce3ab4cdc1ba1899fd51473908c
commit r15-6219-g55ed7c4443304ce3ab4cdc1ba1899fd51473908c
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Fri Dec 13 11:00:19 2024 +0000
libstdc++: Fix -Wreorder warning in <pstl/parallel_backend_tbb.h>
libstdc++-v3/ChangeLog:
* include/pstl/parallel_backend_tbb.h (__merge_func): Fix order
of mem-initializers.
Diff:
---
libstdc++-v3/include/pstl/parallel_backend_tbb.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libstdc++-v3/include/pstl/parallel_backend_tbb.h b/libstdc++-v3/include/pstl/parallel_backend_tbb.h
index 96e4b709fbee..bb6fa8f18e83 100644
--- a/libstdc++-v3/include/pstl/parallel_backend_tbb.h
+++ b/libstdc++-v3/include/pstl/parallel_backend_tbb.h
@@ -834,7 +834,7 @@ class __merge_func
__merge_func(_SizeType __xs, _SizeType __xe, _SizeType __ys, _SizeType __ye, _SizeType __zs, _Compare __comp,
_Cleanup, _LeafMerge __leaf_merge, _SizeType __nsort, _RandomAccessIterator1 __x_beg,
_RandomAccessIterator2 __z_beg, bool __x_orig, bool __y_orig, bool __root)
- : _M_xs(__xs), _M_xe(__xe), _M_ys(__ys), _M_ye(__ye), _M_zs(__zs), _M_x_beg(__x_beg), _M_z_beg(__z_beg),
+ : _M_x_beg(__x_beg), _M_z_beg(__z_beg), _M_xs(__xs), _M_xe(__xe), _M_ys(__ys), _M_ye(__ye), _M_zs(__zs),
_M_comp(__comp), _M_leaf_merge(__leaf_merge), _M_nsort(__nsort), _root(__root),
_x_orig(__x_orig), _y_orig(__y_orig), _split(false)
{
More information about the Libstdc++-cvs
mailing list