From c27366bc94e3c1341e9374b3fb88cf647f37c1c2 Mon Sep 17 00:00:00 2001 From: Guillaume Pasero <guillaume.pasero@c-s.fr> Date: Fri, 10 Mar 2017 10:26:31 +0100 Subject: [PATCH] COMP: fix compilation with opencv 2.4 --- Modules/Learning/Supervised/include/otbCvRTreesWrapper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Learning/Supervised/include/otbCvRTreesWrapper.h b/Modules/Learning/Supervised/include/otbCvRTreesWrapper.h index 9582c938f4..a3874b1c5f 100644 --- a/Modules/Learning/Supervised/include/otbCvRTreesWrapper.h +++ b/Modules/Learning/Supervised/include/otbCvRTreesWrapper.h @@ -125,10 +125,10 @@ public: #undef OTB_CV_WRAP_PROPERTY #undef OTB_CV_WRAP_PROPERTY_REF #undef OTB_CV_WRAP_CSTREF_GET -#endif private: cv::Ptr<cv::ml::RTrees> m_Impl; +#endif // OTB_OPENCV_3 }; } -- GitLab