execution_policy: Add missing constexpr to par_t constructor
MODIFY
thrust/system/omp/detail/par.h
thrust/system/omp/detail/par.h
@@ -35,7 +35,7 @@ struct par_t : thrust::system::omp::detail::execution_policy<par_t>,
thrust::system::omp::detail::execution_policy>
{
__host__ __device__
- par_t() : thrust::system::omp::detail::execution_policy<par_t>() {}
+ THRUST_CONSTEXPR par_t() : thrust::system::omp::detail::execution_policy<par_t>() {}
};

MODIFY
thrust/system/tbb/detail/par.h
thrust/system/tbb/detail/par.h
@@ -35,7 +35,7 @@ struct par_t : thrust::system::tbb::detail::execution_policy<par_t>,
thrust::system::tbb::detail::execution_policy>
{
__host__ __device__
- par_t() : thrust::system::tbb::detail::execution_policy<par_t>() {}
+ THRUST_CONSTEXPR par_t() : thrust::system::tbb::detail::execution_policy<par_t>() {}
};

execution_policy: Add missing constexpr to par_t constructor