diff --git a/modules/photo/src/cuda/nlm.cu b/modules/photo/src/cuda/nlm.cu index 2c36239616..07e9a742cd 100644 --- a/modules/photo/src/cuda/nlm.cu +++ b/modules/photo/src/cuda/nlm.cu @@ -199,7 +199,7 @@ namespace cv { namespace cuda { namespace device static __device__ __forceinline__ const thrust::tuple, plus > op() { plus op; - return thrust::make_tuple(op, op); + return { op, op }; } }; template <> struct Unroll<2> @@ -218,7 +218,7 @@ namespace cv { namespace cuda { namespace device static __device__ __forceinline__ const thrust::tuple, plus, plus > op() { plus op; - return thrust::make_tuple(op, op, op); + return { op, op, op }; } }; template <> struct Unroll<3> @@ -237,7 +237,7 @@ namespace cv { namespace cuda { namespace device static __device__ __forceinline__ const thrust::tuple, plus, plus, plus > op() { plus op; - return thrust::make_tuple(op, op, op, op); + return { op, op, op, op }; } }; template <> struct Unroll<4>