From 64b3bbb6201b183db37ec3d6bc47c595c150b0d3 Mon Sep 17 00:00:00 2001 From: LaurentBerger Date: Thu, 18 May 2017 14:12:22 +0200 Subject: [PATCH] solve issue 1165 --- modules/optflow/include/opencv2/optflow/sparse_matching_gpc.hpp | 1 - modules/optflow/src/dis_flow.cpp | 1 - modules/optflow/src/sparse_matching_gpc.cpp | 1 + 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/optflow/include/opencv2/optflow/sparse_matching_gpc.hpp b/modules/optflow/include/opencv2/optflow/sparse_matching_gpc.hpp index 312771030b..dd948b635d 100644 --- a/modules/optflow/include/opencv2/optflow/sparse_matching_gpc.hpp +++ b/modules/optflow/include/opencv2/optflow/sparse_matching_gpc.hpp @@ -52,7 +52,6 @@ the use of this software, even if advised of the possibility of such damage. #define __OPENCV_OPTFLOW_SPARSE_MATCHING_GPC_HPP__ #include "opencv2/core.hpp" -#include "opencv2/core/hal/intrin.hpp" #include "opencv2/imgproc.hpp" namespace cv diff --git a/modules/optflow/src/dis_flow.cpp b/modules/optflow/src/dis_flow.cpp index 81e53e7683..5b7f82c93c 100644 --- a/modules/optflow/src/dis_flow.cpp +++ b/modules/optflow/src/dis_flow.cpp @@ -40,7 +40,6 @@ // //M*/ -#include "opencv2/core/hal/intrin.hpp" #include "precomp.hpp" #include "opencl_kernels_optflow.hpp" diff --git a/modules/optflow/src/sparse_matching_gpc.cpp b/modules/optflow/src/sparse_matching_gpc.cpp index 8fa8179cf5..25ccd62c07 100644 --- a/modules/optflow/src/sparse_matching_gpc.cpp +++ b/modules/optflow/src/sparse_matching_gpc.cpp @@ -46,6 +46,7 @@ #include "opencv2/imgcodecs.hpp" #include "precomp.hpp" #include "opencl_kernels_optflow.hpp" +#include "opencv2/core/hal/intrin.hpp" /* Disable "from double to float" and "from size_t to int" warnings. * Fixing these would make the code look ugly by introducing explicit cast all around.