From 72d1d633decbcbc577f6f2eca27e08b9a7d3cfc7 Mon Sep 17 00:00:00 2001
From: Victor Poughon <victor.poughon@cnes.fr>
Date: Tue, 23 Oct 2018 15:49:04 +0200
Subject: [PATCH] BUG: fix missing include in
 otbRandomForestsMachineLearningModel.h

---
 .../Supervised/include/otbRandomForestsMachineLearningModel.h  | 3 +--
 .../include/otbRandomForestsMachineLearningModel.hxx           | 1 -
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/Modules/Learning/Supervised/include/otbRandomForestsMachineLearningModel.h b/Modules/Learning/Supervised/include/otbRandomForestsMachineLearningModel.h
index 3de61ce3aa..276e9ca349 100644
--- a/Modules/Learning/Supervised/include/otbRandomForestsMachineLearningModel.h
+++ b/Modules/Learning/Supervised/include/otbRandomForestsMachineLearningModel.h
@@ -27,12 +27,11 @@
 #include "itkFixedArray.h"
 #include "otbMachineLearningModel.h"
 #include "itkVariableSizeMatrix.h"
+#include "otbCvRTreesWrapper.h"
 
 namespace otb
 {
 
-class CvRTreesWrapper;
-
 template <class TInputValue, class TTargetValue>
 class ITK_EXPORT RandomForestsMachineLearningModel
   : public MachineLearningModel <TInputValue, TTargetValue>
diff --git a/Modules/Learning/Supervised/include/otbRandomForestsMachineLearningModel.hxx b/Modules/Learning/Supervised/include/otbRandomForestsMachineLearningModel.hxx
index a5e70f9130..10508ead57 100644
--- a/Modules/Learning/Supervised/include/otbRandomForestsMachineLearningModel.hxx
+++ b/Modules/Learning/Supervised/include/otbRandomForestsMachineLearningModel.hxx
@@ -25,7 +25,6 @@
 #include "itkMacro.h"
 #include "otbRandomForestsMachineLearningModel.h"
 #include "otbOpenCVUtils.h"
-#include "otbCvRTreesWrapper.h"
 
 namespace otb
 {
-- 
GitLab