diff --git a/modules/core/include/opencv2/core/core.hpp b/modules/core/include/opencv2/core/core.hpp index 09d277a48..57cfcaedf 100644 --- a/modules/core/include/opencv2/core/core.hpp +++ b/modules/core/include/opencv2/core/core.hpp @@ -4040,7 +4040,7 @@ public: int index; }; - +#if 0 class CV_EXPORTS AlgorithmImpl; /*! @@ -4086,6 +4086,7 @@ protected: Ptr impl; }; +#endif } diff --git a/modules/core/include/opencv2/core/operations.hpp b/modules/core/include/opencv2/core/operations.hpp index 5249fd8cd..10c94f3b0 100644 --- a/modules/core/include/opencv2/core/operations.hpp +++ b/modules/core/include/opencv2/core/operations.hpp @@ -3550,7 +3550,7 @@ template static inline std::ostream& operator << (std::ostream& ou return out; } - +#if 0 template struct AlgorithmParamType {}; template<> struct AlgorithmParamType { enum { type = CV_PARAM_TYPE_INT }; }; template<> struct AlgorithmParamType { enum { type = CV_PARAM_TYPE_REAL }; }; @@ -3594,6 +3594,7 @@ template void Algorithm::setParamRange(int propId, const _Tp& minV { setParamRange_(propId, AlgorithmParamType<_Tp>::type, &minVal, &maxVal); } +#endif }