From 93e344a96276c6df90df871cd5dec7726318cf7b Mon Sep 17 00:00:00 2001 From: Kirill Kornyakov Date: Wed, 15 Dec 2010 11:32:37 +0000 Subject: [PATCH] compilation warning fixed --- modules/objdetect/include/opencv2/objdetect/objdetect.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/objdetect/include/opencv2/objdetect/objdetect.hpp b/modules/objdetect/include/opencv2/objdetect/objdetect.hpp index 3115a8650..c836b5b48 100644 --- a/modules/objdetect/include/opencv2/objdetect/objdetect.hpp +++ b/modules/objdetect/include/opencv2/objdetect/objdetect.hpp @@ -325,7 +325,7 @@ private: enum { DO_CANNY_PRUNING = 1, SCALE_IMAGE = 2, FIND_BIGGEST_OBJECT = 4, DO_ROUGH_SEARCH = 8 }; - friend class CascadeClassifierInvoker; + friend struct CascadeClassifierInvoker; template friend int predictOrdered( CascadeClassifier& cascade, Ptr &featureEvaluator);