From be19150672a1345e8ca0cd0bfe1e633952798ea5 Mon Sep 17 00:00:00 2001 From: Vladislav Vinogradov Date: Fri, 5 Oct 2012 18:06:46 +0400 Subject: [PATCH] deleted thrust header --- modules/gpu/include/opencv2/gpu/device/functional.hpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/modules/gpu/include/opencv2/gpu/device/functional.hpp b/modules/gpu/include/opencv2/gpu/device/functional.hpp index 96e96bded7..c498e717ca 100644 --- a/modules/gpu/include/opencv2/gpu/device/functional.hpp +++ b/modules/gpu/include/opencv2/gpu/device/functional.hpp @@ -43,7 +43,7 @@ #ifndef __OPENCV_GPU_FUNCTIONAL_HPP__ #define __OPENCV_GPU_FUNCTIONAL_HPP__ -#include +#include #include "saturate_cast.hpp" #include "vec_traits.hpp" #include "type_traits.hpp" @@ -52,9 +52,8 @@ namespace cv { namespace gpu { namespace device { // Function Objects - - using thrust::unary_function; - using thrust::binary_function; + template struct unary_function : public std::unary_function {}; + template struct binary_function : public std::binary_function {}; // Arithmetic Operations template struct plus : binary_function