[libcxx-commits] [pstl] r366232 - [NFC] Fix -Wreorder warning in TBB backend

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 16 10:29:03 PDT 2019


Author: ldionne
Date: Tue Jul 16 10:29:03 2019
New Revision: 366232

URL: http://llvm.org/viewvc/llvm-project?rev=366232&view=rev
Log:
[NFC] Fix -Wreorder warning in TBB backend

Modified:
    pstl/trunk/include/pstl/internal/parallel_backend_tbb.h

Modified: pstl/trunk/include/pstl/internal/parallel_backend_tbb.h
URL: http://llvm.org/viewvc/llvm-project/pstl/trunk/include/pstl/internal/parallel_backend_tbb.h?rev=366232&r1=366231&r2=366232&view=diff
==============================================================================
--- pstl/trunk/include/pstl/internal/parallel_backend_tbb.h (original)
+++ pstl/trunk/include/pstl/internal/parallel_backend_tbb.h Tue Jul 16 10:29:03 2019
@@ -862,8 +862,8 @@ class __stable_sort_task : public tbb::t
     __stable_sort_task(_RandomAccessIterator1 __xs, _RandomAccessIterator1 __xe, _RandomAccessIterator2 __zs,
                        bool __root, _Compare __comp, _LeafSort __leaf_sort, _SizeType __nsort,
                        _RandomAccessIterator1 __x_beg, _RandomAccessIterator2 __z_beg)
-        : _M_xs(__xs), _M_xe(__xe), _M_x_beg(__x_beg), _M_zs(__zs), _M_z_beg(__z_beg), _M_root(__root), _M_comp(__comp),
-          _M_leaf_sort(__leaf_sort), _M_nsort(__nsort)
+        : _M_xs(__xs), _M_xe(__xe), _M_x_beg(__x_beg), _M_zs(__zs), _M_z_beg(__z_beg), _M_comp(__comp),
+          _M_leaf_sort(__leaf_sort), _M_root(__root), _M_nsort(__nsort)
     {
     }
 };




More information about the libcxx-commits mailing list