From c94997ec4fd934af40ba3afeba333a4a94f03abb Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Thu, 25 Oct 2018 14:24:56 +0300 Subject: [PATCH] fix includes --- modules/optflow/src/pcaflow.cpp | 2 +- modules/optflow/src/variational_refinement.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/optflow/src/pcaflow.cpp b/modules/optflow/src/pcaflow.cpp index 9eaeb5e56..43211c5b5 100644 --- a/modules/optflow/src/pcaflow.cpp +++ b/modules/optflow/src/pcaflow.cpp @@ -40,8 +40,8 @@ // //M*/ -#include "opencv2/ximgproc/edge_filter.hpp" #include "precomp.hpp" +#include "opencv2/ximgproc/edge_filter.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. diff --git a/modules/optflow/src/variational_refinement.cpp b/modules/optflow/src/variational_refinement.cpp index d29ae254d..8fe8e0415 100644 --- a/modules/optflow/src/variational_refinement.cpp +++ b/modules/optflow/src/variational_refinement.cpp @@ -40,8 +40,9 @@ // //M*/ -#include "opencv2/core/hal/intrin.hpp" #include "precomp.hpp" +#include "opencv2/core/hal/intrin.hpp" + using namespace std; namespace cv