diff --git a/Modules/Learning/Supervised/include/otbRandomForestsMachineLearningModel.h b/Modules/Learning/Supervised/include/otbRandomForestsMachineLearningModel.h index 3de61ce3aa661091913e99af382dfa8e230cf58f..276e9ca3492d21db03d2872b38e4c80cc44002b9 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 a5e70f9130298e0b6371d0656d2148a3c89d1108..10508ead57bb89d90b76cc5675731ce864e7786b 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 {