From 828b0b151b16f00f9b8962c0b23cb5bb1d5f7ecb Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Wed, 4 Dec 2013 22:22:36 +0400 Subject: [PATCH] another attempt to fix compile errors --- modules/objdetect/include/opencv2/objdetect.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/objdetect/include/opencv2/objdetect.hpp b/modules/objdetect/include/opencv2/objdetect.hpp index c587b26..d7f5b1a 100644 --- a/modules/objdetect/include/opencv2/objdetect.hpp +++ b/modules/objdetect/include/opencv2/objdetect.hpp @@ -197,7 +197,7 @@ class CV_EXPORTS_W CascadeClassifier { public: CV_WRAP CascadeClassifier(); - CV_WRAP explicit CascadeClassifier(const String& filename); + CV_WRAP CascadeClassifier(const String& filename); ~CascadeClassifier(); CV_WRAP bool empty() const; CV_WRAP bool load( const String& filename ); @@ -234,7 +234,7 @@ public: void setMaskGenerator(const Ptr& maskGenerator); Ptr getMaskGenerator(); -protected: + Ptr cc; }; -- 2.7.4